: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` **Inherited By:** :ref:`RenderDataExtension`, :ref:`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` | :ref:`get_camera_attributes`\ (\ ) |const| | +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+ | :ref:`RID` | :ref:`get_environment`\ (\ ) |const| | +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+ | :ref:`RenderSceneBuffers` | :ref:`get_render_scene_buffers`\ (\ ) |const| | +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+ | :ref:`RenderSceneData` | :ref:`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` **get_camera_attributes**\ (\ ) |const| :ref:`🔗` Returns the :ref:`RID` of the camera attributes object in the :ref:`RenderingServer` being used to render this viewport. .. rst-class:: classref-item-separator ---- .. _class_RenderData_method_get_environment: .. rst-class:: classref-method :ref:`RID` **get_environment**\ (\ ) |const| :ref:`🔗` Returns the :ref:`RID` of the environment object in the :ref:`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` **get_render_scene_buffers**\ (\ ) |const| :ref:`🔗` Returns the :ref:`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` **get_render_scene_data**\ (\ ) |const| :ref:`🔗` Returns the :ref:`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.)`