RenderSceneBuffersConfiguration
Inherits: RefCounted < Object
Description
Section titled “Description”Configuration object used to setup a RenderSceneBuffers object.
This configuration object is created and populated by the render engine on a viewport change and used to (re)configure a RenderSceneBuffers object.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| RenderingSystem.ViewportAnisotropicFiltering | anisotropic_filtering_level |
2 |
| float | fsr_sharpness |
0.0 |
| Vector2i | internal_size |
Vector2i(0, 0) |
| RenderingSystem.ViewportMSAA | msaa_3d |
0 |
| RID | render_target |
RID() |
| RenderingSystem.ViewportScaling3DMode | scaling_3d_mode |
255 |
| RenderingSystem.ViewportScreenSpaceAA | screen_space_aa |
0 |
| Vector2i | target_size |
Vector2i(0, 0) |
| float | texture_mipmap_bias |
0.0 |
| int | view_count |
1 |
Property descriptions
Section titled “Property descriptions”anisotropic_filtering_level
RenderingSystem.ViewportAnisotropicFiltering anisotropic_filtering_level = 2
Level of the anisotropic filter.
fsr_sharpness
float fsr_sharpness = 0.0
FSR Sharpness applicable if FSR upscaling is used.
internal_size
Vector2i internal_size = Vector2i(0, 0)
The size of the 3D render buffer used for rendering.
msaa_3d
RenderingSystem.ViewportMSAA msaa_3d = 0
The MSAA mode we’re using for 3D rendering.
render_target
RID render_target = RID()
The render target associated with these buffer.
scaling_3d_mode
RenderingSystem.ViewportScaling3DMode scaling_3d_mode = 255
The requested scaling mode with which we upscale/downscale if internal_size and target_size are not equal.
screen_space_aa
RenderingSystem.ViewportScreenSpaceAA screen_space_aa = 0
The requested screen space AA applied in post processing.
target_size
Vector2i target_size = Vector2i(0, 0)
The target (upscale) size if scaling is used.
texture_mipmap_bias
float texture_mipmap_bias = 0.0
Bias applied to mipmaps.
Note: This property is only supported in the Forward+ and Mobile renderers, not Compatibility. In Compatibility, this property is always treated as if it was set to 0.0.
view_count
int view_count = 1
The number of views we’re rendering.
