From 85cf99f28e93556f1298a5136254253f9da82b9a Mon Sep 17 00:00:00 2001 From: reduz Date: Tue, 29 Jun 2021 22:55:11 -0300 Subject: Deprecate ImmediateGeometry * Removed entirely from RenderingServer. * Replaced by ImmediateMesh resource. * ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future. * Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4). * RootMotionView works again. * Polygon3D editor works again. --- doc/classes/RenderingServer.xml | 175 +++------------------------------------- 1 file changed, 10 insertions(+), 165 deletions(-) (limited to 'doc/classes/RenderingServer.xml') diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 44e0202307..acfa277dcb 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -988,143 +988,6 @@ Returns [code]true[/code] if the OS supports a certain feature. Features might be [code]s3tc[/code], [code]etc[/code], [code]etc2[/code] and [code]pvrtc[/code]. - - - - - - - - - - - Sets up [ImmediateGeometry3D] internals to prepare for drawing. Equivalent to [method ImmediateGeometry3D.begin]. - - - - - - - - - Clears everything that was set up between [method immediate_begin] and [method immediate_end]. Equivalent to [method ImmediateGeometry3D.clear]. - - - - - - - - - - - Sets the color to be used with next vertex. Equivalent to [method ImmediateGeometry3D.set_color]. - - - - - - - Creates an immediate geometry and adds it to the RenderingServer. It can be accessed with the RID that is returned. This RID will be used in all [code]immediate_*[/code] RenderingServer functions. - Once finished with your RID, you will want to free the RID using the RenderingServer's [method free_rid] static method. - To place in a scene, attach this immediate geometry to an instance using [method instance_set_base] using the returned RID. - - - - - - - - - Ends drawing the [ImmediateGeometry3D] and displays it. Equivalent to [method ImmediateGeometry3D.end]. - - - - - - - - - Returns the material assigned to the [ImmediateGeometry3D]. - - - - - - - - - - - Sets the normal to be used with next vertex. Equivalent to [method ImmediateGeometry3D.set_normal]. - - - - - - - - - - - Sets the material to be used to draw the [ImmediateGeometry3D]. - - - - - - - - - - - Sets the tangent to be used with next vertex. Equivalent to [method ImmediateGeometry3D.set_tangent]. - - - - - - - - - - - Sets the UV to be used with next vertex. Equivalent to [method ImmediateGeometry3D.set_uv]. - - - - - - - - - - - Sets the UV2 to be used with next vertex. Equivalent to [method ImmediateGeometry3D.set_uv2]. - - - - - - - - - - - Adds the next vertex using the information provided in advance. Equivalent to [method ImmediateGeometry3D.add_vertex]. - - - - - - - - - - - Adds the next vertex using the information provided in advance. This is a helper class that calls [method immediate_vertex] under the hood. Equivalent to [method ImmediateGeometry3D.add_vertex]. - - @@ -1787,21 +1650,6 @@ Sets a mesh's surface's material. - - - - - - - - - - - - - Updates a specific region of a vertex buffer for the specified surface. Warning: this function alters the vertex buffer directly with no safety mechanisms, you can easily corrupt your mesh. - - @@ -3677,35 +3525,32 @@ The instance is a multimesh. - - The instance is an immediate geometry. - - + The instance is a particle emitter. - + - + The instance is a light. - + The instance is a reflection probe. - + The instance is a decal. - + The instance is a VoxelGI. - + The instance is a lightmap. - + - + Represents the size of the [enum InstanceType] enum. - + A combination of the flags of geometry instances (mesh, multimesh, immediate and particles). -- cgit v1.2.3