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 ( float value )

  • 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 ( RID value )

  • 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 ( float value )

  • float get_texture_mipmap_bias ( )

Bias applied to mipmaps.


int view_count = 1

  • void set_view_count ( int value )

  • int get_view_count ( )

The number of views we’re rendering.

Previous Next


© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6.

Built with Sphinx using a theme provided by Read the Docs.