Merge pull request #67923 from Calinou/doc-displayserver
Document the DisplayServer class
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
Similarly, in 2D, a canvas is needed to draw all canvas items.
|
||||
In 3D, all visible objects are comprised of a resource and an instance. A resource can be a mesh, a particle system, a light, or any other 3D object. In order to be visible resources must be attached to an instance using [method instance_set_base]. The instance must also be attached to the scenario using [method instance_set_scenario] in order to be visible.
|
||||
In 2D, all visible objects are some form of canvas item. In order to be visible, a canvas item needs to be the child of a canvas attached to a viewport, or it needs to be the child of another canvas item that is eventually attached to the canvas.
|
||||
[b]Headless mode:[/b] Starting the engine with the [code]--headless[/code] [url=$DOCS_URL/tutorials/editor/command_line_tutorial.html]command line argument[/url] disables all rendering and window management functions. Most functions from [RenderingServer] will return dummy values in this case.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="Optimization using Servers">$DOCS_URL/tutorials/performance/using_servers.html</link>
|
||||
|
||||
Reference in New Issue
Block a user