Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

RenderSceneBuffers

Inherits: RefCounted < Object

Inherited By: RenderSceneBuffersExtension, RenderSceneBuffersRD

Abstract scene buffers object, created for each viewport for which 3D rendering is done.

描述

Abstract scene buffers object, created for each viewport for which 3D rendering is done. It manages any additional buffers used during rendering and will discard buffers when the viewport is resized.

Note: this is an internal rendering server object only exposed for GDExtension plugins.

Methods

void

configure ( RenderSceneBuffersConfiguration config )


Method Descriptions

void configure ( RenderSceneBuffersConfiguration config )

This method is called by the rendering server when the associated viewports configuration is changed. It will discard the old buffers and recreate the internal buffers used.