class_renderdata.rst 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/RenderData.xml.
  6. .. _class_RenderData:
  7. RenderData
  8. ==========
  9. **Inherits:** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`RenderDataExtension<class_RenderDataExtension>`, :ref:`RenderDataRD<class_RenderDataRD>`
  11. Abstract render data object, holds frame data related to rendering a single frame of a viewport.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. Abstract render data object, exists for the duration of rendering a single viewport.
  16. \ **Note:** This is an internal rendering server object, do not instantiate this from script.
  17. .. rst-class:: classref-reftable-group
  18. Methods
  19. -------
  20. .. table::
  21. :widths: auto
  22. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
  23. | :ref:`RID<class_RID>` | :ref:`get_camera_attributes<class_RenderData_method_get_camera_attributes>`\ (\ ) |const| |
  24. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
  25. | :ref:`RID<class_RID>` | :ref:`get_environment<class_RenderData_method_get_environment>`\ (\ ) |const| |
  26. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
  27. | :ref:`RenderSceneBuffers<class_RenderSceneBuffers>` | :ref:`get_render_scene_buffers<class_RenderData_method_get_render_scene_buffers>`\ (\ ) |const| |
  28. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
  29. | :ref:`RenderSceneData<class_RenderSceneData>` | :ref:`get_render_scene_data<class_RenderData_method_get_render_scene_data>`\ (\ ) |const| |
  30. +-----------------------------------------------------+-------------------------------------------------------------------------------------------------+
  31. .. rst-class:: classref-section-separator
  32. ----
  33. .. rst-class:: classref-descriptions-group
  34. Method Descriptions
  35. -------------------
  36. .. _class_RenderData_method_get_camera_attributes:
  37. .. rst-class:: classref-method
  38. :ref:`RID<class_RID>` **get_camera_attributes**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_camera_attributes>`
  39. Returns the :ref:`RID<class_RID>` of the camera attributes object in the :ref:`RenderingServer<class_RenderingServer>` being used to render this viewport.
  40. .. rst-class:: classref-item-separator
  41. ----
  42. .. _class_RenderData_method_get_environment:
  43. .. rst-class:: classref-method
  44. :ref:`RID<class_RID>` **get_environment**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_environment>`
  45. Returns the :ref:`RID<class_RID>` of the environment object in the :ref:`RenderingServer<class_RenderingServer>` being used to render this viewport.
  46. .. rst-class:: classref-item-separator
  47. ----
  48. .. _class_RenderData_method_get_render_scene_buffers:
  49. .. rst-class:: classref-method
  50. :ref:`RenderSceneBuffers<class_RenderSceneBuffers>` **get_render_scene_buffers**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_render_scene_buffers>`
  51. Returns the :ref:`RenderSceneBuffers<class_RenderSceneBuffers>` object managing the scene buffers for rendering this viewport.
  52. .. rst-class:: classref-item-separator
  53. ----
  54. .. _class_RenderData_method_get_render_scene_data:
  55. .. rst-class:: classref-method
  56. :ref:`RenderSceneData<class_RenderSceneData>` **get_render_scene_data**\ (\ ) |const| :ref:`🔗<class_RenderData_method_get_render_scene_data>`
  57. Returns the :ref:`RenderSceneData<class_RenderSceneData>` object managing this frames scene data.
  58. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  59. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  60. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  61. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  62. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  63. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  64. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  65. .. |void| replace:: :abbr:`void (No return value.)`