Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create an issue.

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.