Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

RenderData

Inherits: Object

Inherited By: RenderDataExtension, RenderDataRD

Abstract render data object, holds frame data related to rendering a single frame of a viewport.

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.

Methods

RID

get_camera_attributes() const

RID

get_environment() const

RenderSceneBuffers

get_render_scene_buffers() const

RenderSceneData

get_render_scene_data() const


Method Descriptions

RID get_camera_attributes() const 🔗

Returns the RID of the camera attributes object in the RenderingServer being used to render this viewport.


RID get_environment() const 🔗

Returns the RID of the environments object in the RenderingServer being used to render this viewport.


RenderSceneBuffers get_render_scene_buffers() const 🔗

Returns the RenderSceneBuffers object managing the scene buffers for rendering this viewport.


RenderSceneData get_render_scene_data() const 🔗

Returns the RenderSceneData object managing this frames scene data.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.