Attention: Here be dragons (unstable version)

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

RenderSceneBuffersConfiguration

Inherits: RefCounted < Object

Configuration object used to setup a RenderSceneBuffers object.

Description

This configuration object is created and populated by the render engine on a viewport change and used to (re)configure a RenderSceneBuffers object.

Properties

float

fsr_sharpness

0.0

Vector2i

internal_size

Vector2i(0, 0)

ViewportMSAA

msaa_3d

0

RID

render_target

RID()

ViewportScaling3DMode

scaling_3d_mode

255

ViewportScreenSpaceAA

screen_space_aa

0

Vector2i

target_size

Vector2i(0, 0)

float

texture_mipmap_bias

0.0

int

view_count

1


Property Descriptions

float fsr_sharpness = 0.0 🔗

  • void set_fsr_sharpness(value: float)

  • float get_fsr_sharpness()

FSR Sharpness applicable if FSR upscaling is used.


Vector2i internal_size = Vector2i(0, 0) 🔗

The size of the 3D render buffer used for rendering.


ViewportMSAA msaa_3d = 0 🔗

The MSAA mode we're using for 3D rendering.


RID render_target = RID() 🔗

  • void set_render_target(value: RID)

  • RID get_render_target()

The render target associated with these buffer.


ViewportScaling3DMode scaling_3d_mode = 255 🔗

The requested scaling mode with which we upscale/downscale if internal_size and target_size are not equal.


ViewportScreenSpaceAA screen_space_aa = 0 🔗

The requested screen space AA applied in post processing.


Vector2i target_size = Vector2i(0, 0) 🔗

The target (upscale) size if scaling is used.


float texture_mipmap_bias = 0.0 🔗

  • void set_texture_mipmap_bias(value: float)

  • float get_texture_mipmap_bias()

Bias applied to mipmaps.


int view_count = 1 🔗

  • void set_view_count(value: int)

  • int get_view_count()

The number of views we're rendering.