ezEngine Release 26.9
Loading...
Searching...
No Matches
ezGALSamplerStateCreationDescription Struct Reference
Inheritance diagram for ezGALSamplerStateCreationDescription:

Public Attributes

ezEnum< ezGALTextureFilterMode > m_MinFilter
 
ezEnum< ezGALTextureFilterMode > m_MagFilter
 
ezEnum< ezGALTextureFilterMode > m_MipFilter
 
ezEnum< ezImageAddressMode > m_AddressU
 
ezEnum< ezImageAddressMode > m_AddressV
 
ezEnum< ezImageAddressMode > m_AddressW
 
ezEnum< ezGALCompareFunc > m_SampleCompareFunc
 
ezColor m_BorderColor = ezColor::Black
 
float m_fMipLodBias = 0.0f
 
float m_fMinMip = -1.0f
 
float m_fMaxMip = 42000.0f
 
ezUInt8 m_uiMaxAnisotropy = 4
 
ezEnum< ezGALTextureQualitySlot > m_useTextureQualitySlot = ezGALTextureQualitySlot::None
 

Additional Inherited Members

- Public Member Functions inherited from ezHashableStruct< ezGALSamplerStateCreationDescription >
 ezHashableStruct (const ezHashableStruct< ezGALSamplerStateCreationDescription > &other)
 
void operator= (const ezHashableStruct< ezGALSamplerStateCreationDescription > &other)
 
bool operator== (const ezHashableStruct< ezGALSamplerStateCreationDescription > &other) const
 
bool operator!= (const ezHashableStruct< ezGALSamplerStateCreationDescription > &other) const
 
bool operator< (const ezHashableStruct< ezGALSamplerStateCreationDescription > &other) const
 
ezUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Member Data Documentation

◆ m_useTextureQualitySlot

ezEnum<ezGALTextureQualitySlot> ezGALSamplerStateCreationDescription::m_useTextureQualitySlot = ezGALTextureQualitySlot::None

Quality slot that controls filter and anisotropy for this sampler. When set, these are overridden by the current quality setting for that slot, and the sampler is automatically recreated when quality changes. Set to ezGALTextureQualitySlot::None (default) to use fixed filter settings from m_MinFilter/m_MagFilter/m_MipFilter/m_uiMaxAnisotropy.

See also
ezRenderContext::SetDefaultTextureQuality, ezTextureFilterSetting

The documentation for this struct was generated from the following file: