Table of Contents

Class RenderSceneBuffersConfiguration

Namespace
Godot
Assembly
GodotSharp.dll

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

public class RenderSceneBuffersConfiguration : RefCounted, IDisposable
Inheritance
RenderSceneBuffersConfiguration
Implements
Inherited Members

Constructors

RenderSceneBuffersConfiguration()

public RenderSceneBuffersConfiguration()

Properties

FsrSharpness

FSR Sharpness applicable if FSR upscaling is used.

public float FsrSharpness { get; set; }

Property Value

float

InternalSize

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

public Vector2I InternalSize { get; set; }

Property Value

Vector2I

Msaa3D

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

public RenderingServer.ViewportMsaa Msaa3D { get; set; }

Property Value

RenderingServer.ViewportMsaa

RenderTarget

The render target associated with these buffer.

public Rid RenderTarget { get; set; }

Property Value

Rid

Scaling3DMode

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

public RenderingServer.ViewportScaling3DMode Scaling3DMode { get; set; }

Property Value

RenderingServer.ViewportScaling3DMode

ScreenSpaceAA

The requested screen space AA applied in post processing.

public RenderingServer.ViewportScreenSpaceAA ScreenSpaceAA { get; set; }

Property Value

RenderingServer.ViewportScreenSpaceAA

TargetSize

The target (upscale) size if scaling is used.

public Vector2I TargetSize { get; set; }

Property Value

Vector2I

TextureMipmapBias

Bias applied to mipmaps.

public float TextureMipmapBias { get; set; }

Property Value

float

ViewCount

The number of views we're rendering.

public uint ViewCount { get; set; }

Property Value

uint

Methods

HasGodotClassMethod(in godot_string_name)

Check if the type contains a method with the given name. This method is used by Godot to check if a method exists before invoking it. Do not call or override this method.

protected override bool HasGodotClassMethod(in godot_string_name method)

Parameters

method godot_string_name

Name of the method to check for.

Returns

bool

HasGodotClassSignal(in godot_string_name)

Check if the type contains a signal with the given name. This method is used by Godot to check if a signal exists before raising it. Do not call or override this method.

protected override bool HasGodotClassSignal(in godot_string_name signal)

Parameters

signal godot_string_name

Name of the signal to check for.

Returns

bool

InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)

Invokes the method with the given name, using the given arguments. This method is used by Godot to invoke methods from the engine side. Do not call or override this method.

protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret)

Parameters

method godot_string_name

Name of the method to invoke.

args NativeVariantPtrArgs

Arguments to use with the invoked method.

ret godot_variant

Value returned by the invoked method.

Returns

bool