class SamplerState

Inherits: IReflectable

Defines the behaviour of a texture sampler on the GPU.

Public

Methods

~SamplerState

virtual ~SamplerState() noexcept = default

Initialize

virtual void Initialize()

Initializes the object.

The object should not be used before this is called.

GetInformation

const SamplerStateInformation &GetInformation() const

Returns information describing the sampler state.

staticGenerateHash

static u64 GenerateHash(const SamplerStateInformation &information)

Generates a hash value from a sampler state descriptor.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const override

Returns an interface you can use to access class' Run Time Type Information.

Protected

Constructors

SamplerState

SamplerState(const SamplerStateCreateInformation &createInformation)

Fields

mInformation