Open 3D Engine Atom Gem API Reference  22.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
AZ::RHI::SamplerState Class Reference

Public Member Functions

 AZ_TYPE_INFO (SamplerState, "{03CF3A01-8C2B-4A65-8781-6C25CFF0475F}")
 
HashValue64 GetHash (HashValue64 seed=HashValue64{ 0 }) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static SamplerState Create (FilterMode filterModeMinMag, FilterMode filterModeMip, AddressMode addressMode, BorderColor borderColor=BorderColor::TransparentBlack)
 
static SamplerState CreateAnisotropic (uint32_t anisotropyMax, AddressMode addressMode)
 

Public Attributes

uint32_t m_anisotropyMax = 0
 
uint32_t m_anisotropyEnable = 0
 
FilterMode m_filterMin = FilterMode::Point
 
FilterMode m_filterMag = FilterMode::Point
 
FilterMode m_filterMip = FilterMode::Point
 
ReductionType m_reductionType = ReductionType::Filter
 
ComparisonFunc m_comparisonFunc = ComparisonFunc::Always
 
AddressMode m_addressU = AddressMode::Wrap
 
AddressMode m_addressV = AddressMode::Wrap
 
AddressMode m_addressW = AddressMode::Wrap
 
float m_mipLodMin = 0.0f
 
float m_mipLodMax = static_cast<float>(Limits::Image::MipCountMax)
 
float m_mipLodBias = 0.0f
 
BorderColor m_borderColor = BorderColor::TransparentBlack
 

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