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

Public Attributes

ezEnum< ezGALTextureFilterModem_MinFilter
 
ezEnum< ezGALTextureFilterModem_MagFilter
 
ezEnum< ezGALTextureFilterModem_MipFilter
 
ezEnum< ezImageAddressModem_AddressU
 
ezEnum< ezImageAddressModem_AddressV
 
ezEnum< ezImageAddressModem_AddressW
 
ezEnum< ezGALCompareFuncm_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< ezGALTextureQualitySlotm_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: