123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- :github_url: hide
- .. DO NOT EDIT THIS FILE!!!
- .. Generated automatically from Godot engine sources.
- .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
- .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/RenderData.xml.
- .. _class_RenderData:
- RenderData
- ==========
- **Inherits:** :ref:`Object<class_Object>`
- **Inherited By:** :ref:`RenderDataExtension<class_RenderDataExtension>`, :ref:`RenderDataRD<class_RenderDataRD>`
- Abstract render data object, holds frame data related to rendering a single frame of a viewport.
- .. rst-class:: classref-introduction-group
- Description
- -----------
- Abstract render data object, exists for the duration of rendering a single viewport.
- \ **Note:** This is an internal rendering server object, do not instantiate this from script.
- .. rst-class:: classref-reftable-group
- Methods
- -------
- .. table::
- :widths: auto
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`get_camera_attributes<class_RenderData_method_get_camera_attributes>`\ (\ ) |const| |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
- | :ref:`RID<class_RID>` | :ref:`get_environment<class_RenderData_method_get_environment>`\ (\ ) |const| |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
- | :ref:`RenderSceneBuffers<class_RenderSceneBuffers>` | :ref:`get_render_scene_buffers<class_RenderData_method_get_render_scene_buffers>`\ (\ ) |const| |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
- | :ref:`RenderSceneData<class_RenderSceneData>` | :ref:`get_render_scene_data<class_RenderData_method_get_render_scene_data>`\ (\ ) |const| |
- +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
- .. rst-class:: classref-section-separator
- ----
- .. rst-class:: classref-descriptions-group
- Method Descriptions
- -------------------
- .. _class_RenderData_method_get_camera_attributes:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **get_camera_attributes**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_camera_attributes>`
- Returns the :ref:`RID<class_RID>` of the camera attributes object in the :ref:`RenderingServer<class_RenderingServer>` being used to render this viewport.
- .. rst-class:: classref-item-separator
- ----
- .. _class_RenderData_method_get_environment:
- .. rst-class:: classref-method
- :ref:`RID<class_RID>` **get_environment**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_environment>`
- Returns the :ref:`RID<class_RID>` of the environment object in the :ref:`RenderingServer<class_RenderingServer>` being used to render this viewport.
- .. rst-class:: classref-item-separator
- ----
- .. _class_RenderData_method_get_render_scene_buffers:
- .. rst-class:: classref-method
- :ref:`RenderSceneBuffers<class_RenderSceneBuffers>` **get_render_scene_buffers**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_render_scene_buffers>`
- Returns the :ref:`RenderSceneBuffers<class_RenderSceneBuffers>` object managing the scene buffers for rendering this viewport.
- .. rst-class:: classref-item-separator
- ----
- .. _class_RenderData_method_get_render_scene_data:
- .. rst-class:: classref-method
- :ref:`RenderSceneData<class_RenderSceneData>` **get_render_scene_data**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_render_scene_data>`
- Returns the :ref:`RenderSceneData<class_RenderSceneData>` object managing this frames scene data.
- .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
- .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
- .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
- .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
- .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
- .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
- .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
- .. |void| replace:: :abbr:`void (No return value.)`
|