RDSamplerState

package
v0.0.0-...-5eaf078 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package RDSamplerState provides methods for working with RDSamplerState object instances.

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
	AsRDSamplerState() 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]) AsRDSamplerState

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

func (*Extension[T]) AsRefCounted

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

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

type Instance [1]gdclass.RDSamplerState

This object is used by [RenderingDevice].

var Nil Instance

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

func New

func New() Instance

func (Instance) AnisotropyMax

func (self Instance) AnisotropyMax() Float.X

func (Instance) AsObject

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

func (Instance) AsRDSamplerState

func (self Instance) AsRDSamplerState() Instance

func (Instance) AsRefCounted

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

func (Instance) BorderColor

func (self Instance) BorderColor() Rendering.SamplerBorderColor

func (Instance) CompareOp

func (self Instance) CompareOp() Rendering.CompareOperator

func (Instance) EnableCompare

func (self Instance) EnableCompare() bool

func (Instance) ID

func (self Instance) ID() ID

func (Instance) LodBias

func (self Instance) LodBias() Float.X

func (Instance) MagFilter

func (self Instance) MagFilter() Rendering.SamplerFilter

func (Instance) MaxLod

func (self Instance) MaxLod() Float.X

func (Instance) MinFilter

func (self Instance) MinFilter() Rendering.SamplerFilter

func (Instance) MinLod

func (self Instance) MinLod() Float.X

func (Instance) MipFilter

func (self Instance) MipFilter() Rendering.SamplerFilter

func (Instance) RepeatU

func (self Instance) RepeatU() Rendering.SamplerRepeatMode

func (Instance) RepeatV

func (self Instance) RepeatV() Rendering.SamplerRepeatMode

func (Instance) RepeatW

func (self Instance) RepeatW() Rendering.SamplerRepeatMode

func (Instance) SetAnisotropyMax

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

func (Instance) SetBorderColor

func (self Instance) SetBorderColor(value Rendering.SamplerBorderColor)

func (Instance) SetCompareOp

func (self Instance) SetCompareOp(value Rendering.CompareOperator)

func (Instance) SetEnableCompare

func (self Instance) SetEnableCompare(value bool)

func (Instance) SetLodBias

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

func (Instance) SetMagFilter

func (self Instance) SetMagFilter(value Rendering.SamplerFilter)

func (Instance) SetMaxLod

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

func (Instance) SetMinFilter

func (self Instance) SetMinFilter(value Rendering.SamplerFilter)

func (Instance) SetMinLod

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

func (Instance) SetMipFilter

func (self Instance) SetMipFilter(value Rendering.SamplerFilter)

func (*Instance) SetObject

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

func (Instance) SetRepeatU

func (self Instance) SetRepeatU(value Rendering.SamplerRepeatMode)

func (Instance) SetRepeatV

func (self Instance) SetRepeatV(value Rendering.SamplerRepeatMode)

func (Instance) SetRepeatW

func (self Instance) SetRepeatW(value Rendering.SamplerRepeatMode)

func (Instance) SetUnnormalizedUvw

func (self Instance) SetUnnormalizedUvw(value bool)

func (Instance) SetUseAnisotropy

func (self Instance) SetUseAnisotropy(value bool)

func (Instance) UnnormalizedUvw

func (self Instance) UnnormalizedUvw() bool

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) UseAnisotropy

func (self Instance) UseAnisotropy() bool

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