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 ¶
- type Advanced
- type Any
- type Extension
- type ID
- type Instance
- func (self Instance) AnisotropicFilteringLevel() RenderingServer.ViewportAnisotropicFiltering
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsRenderSceneBuffersConfiguration() Instance
- func (self Instance) FsrSharpness() Float.X
- func (self Instance) ID() ID
- func (self Instance) InternalSize() Vector2i.XY
- func (self Instance) Msaa3d() RenderingServer.ViewportMSAA
- func (self Instance) RenderTarget() RID.Framebuffer
- func (self Instance) Scaling3dMode() RenderingServer.ViewportScaling3DMode
- func (self Instance) ScreenSpaceAa() RenderingServer.ViewportScreenSpaceAA
- func (self Instance) SetAnisotropicFilteringLevel(value RenderingServer.ViewportAnisotropicFiltering)
- func (self Instance) SetFsrSharpness(value Float.X)
- func (self Instance) SetInternalSize(value Vector2i.XY)
- func (self Instance) SetMsaa3d(value RenderingServer.ViewportMSAA)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetRenderTarget(value RID.Framebuffer)
- func (self Instance) SetScaling3dMode(value RenderingServer.ViewportScaling3DMode)
- func (self Instance) SetScreenSpaceAa(value RenderingServer.ViewportScreenSpaceAA)
- func (self Instance) SetTargetSize(value Vector2i.XY)
- func (self Instance) SetTextureMipmapBias(value Float.X)
- func (self Instance) SetViewCount(value int)
- func (self Instance) TargetSize() Vector2i.XY
- func (self Instance) TextureMipmapBias() Float.X
- func (self Instance) ViewCount() int
- func (self Instance) Virtual(name string) reflect.Value
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 Extension ¶
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]) AsRefCounted ¶
func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
func (*Extension[T]) AsRenderSceneBuffersConfiguration ¶
type 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.
type Instance ¶
type Instance [1]gdclass.RenderSceneBuffersConfiguration
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 (Instance) AnisotropicFilteringLevel ¶
func (self Instance) AnisotropicFilteringLevel() RenderingServer.ViewportAnisotropicFiltering
Level of the anisotropic filter.
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsRenderSceneBuffersConfiguration ¶
func (Instance) FsrSharpness ¶
FSR Sharpness applicable if FSR upscaling is used.
func (Instance) InternalSize ¶
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 ¶
SetFsrSharpness sets the property returned by [GetFsrSharpness].
func (Instance) SetInternalSize ¶
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) 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 ¶
SetTargetSize sets the property returned by [GetTargetSize].
func (Instance) SetTextureMipmapBias ¶
SetTextureMipmapBias sets the property returned by [GetTextureMipmapBias].
func (Instance) SetViewCount ¶
SetViewCount sets the property returned by [GetViewCount].
func (Instance) TargetSize ¶
The target (upscale) size if scaling is used.
func (Instance) TextureMipmapBias ¶
Bias applied to mipmaps.