RenderSceneBuffersConfiguration

package
v0.0.0-...-357ca8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsRenderSceneBuffersConfiguration() Instance
}

type Extension

type Extension[T gdclass.Interface] struct{ gdclass.Extension[T, Instance] }

Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension

func (*Extension[T]) AsObject

func (self *Extension[T]) AsObject() [1]gd.Object

func (*Extension[T]) AsRefCounted

func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted

func (*Extension[T]) AsRenderSceneBuffersConfiguration

func (self *Extension[T]) AsRenderSceneBuffersConfiguration() Instance

type ID

type ID Object.ID

ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.

func (ID) Instance

func (id ID) Instance() (Instance, bool)

type Instance

Instance of the class with convieniently typed arguments and results.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AnisotropicFilteringLevel

func (self Instance) AnisotropicFilteringLevel() RenderingServer.ViewportAnisotropicFiltering

Level of the anisotropic filter.

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) AsRenderSceneBuffersConfiguration

func (self Instance) AsRenderSceneBuffersConfiguration() Instance

func (Instance) FsrSharpness

func (self Instance) FsrSharpness() Float.X

FSR Sharpness applicable if FSR upscaling is used.

func (Instance) ID

func (self Instance) ID() ID

func (Instance) InternalSize

func (self Instance) InternalSize() Vector2i.XY

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

func (Instance) Msaa3d

func (self Instance) Msaa3d() RenderingServer.ViewportMSAA

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

func (Instance) RenderTarget

func (self Instance) RenderTarget() RID.Framebuffer

The render target associated with these buffer.

func (Instance) Scaling3dMode

func (self Instance) Scaling3dMode() RenderingServer.ViewportScaling3DMode

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

func (Instance) ScreenSpaceAa

func (self Instance) ScreenSpaceAa() RenderingServer.ViewportScreenSpaceAA

The requested screen space AA applied in post processing.

func (Instance) SetAnisotropicFilteringLevel

func (self Instance) SetAnisotropicFilteringLevel(value RenderingServer.ViewportAnisotropicFiltering)

SetAnisotropicFilteringLevel sets the property returned by [GetAnisotropicFilteringLevel].

func (Instance) SetFsrSharpness

func (self Instance) SetFsrSharpness(value Float.X)

SetFsrSharpness sets the property returned by [GetFsrSharpness].

func (Instance) SetInternalSize

func (self Instance) SetInternalSize(value Vector2i.XY)

SetInternalSize sets the property returned by [GetInternalSize].

func (Instance) SetMsaa3d

func (self Instance) SetMsaa3d(value RenderingServer.ViewportMSAA)

SetMsaa3d sets the property returned by [GetMsaa3d].

func (*Instance) SetObject

func (self *Instance) SetObject(obj [1]gd.Object) bool

func (Instance) SetRenderTarget

func (self Instance) SetRenderTarget(value RID.Framebuffer)

SetRenderTarget sets the property returned by [GetRenderTarget].

func (Instance) SetScaling3dMode

func (self Instance) SetScaling3dMode(value RenderingServer.ViewportScaling3DMode)

SetScaling3dMode sets the property returned by [GetScaling3dMode].

func (Instance) SetScreenSpaceAa

func (self Instance) SetScreenSpaceAa(value RenderingServer.ViewportScreenSpaceAA)

SetScreenSpaceAa sets the property returned by [GetScreenSpaceAa].

func (Instance) SetTargetSize

func (self Instance) SetTargetSize(value Vector2i.XY)

SetTargetSize sets the property returned by [GetTargetSize].

func (Instance) SetTextureMipmapBias

func (self Instance) SetTextureMipmapBias(value Float.X)

SetTextureMipmapBias sets the property returned by [GetTextureMipmapBias].

func (Instance) SetViewCount

func (self Instance) SetViewCount(value int)

SetViewCount sets the property returned by [GetViewCount].

func (Instance) TargetSize

func (self Instance) TargetSize() Vector2i.XY

The target (upscale) size if scaling is used.

func (Instance) TextureMipmapBias

func (self Instance) TextureMipmapBias() Float.X

Bias applied to mipmaps.

func (Instance) ViewCount

func (self Instance) ViewCount() int

The number of views we're rendering.

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL