#include <sampler.h>
Public Member Functions | |
Sampler ()=default | |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
std::string | mName |
Property: 'Name' sampler shader name. More... | |
EFilterMode | mMinFilter = EFilterMode::Linear |
Property: 'MinFilter' minimizing filter. More... | |
EFilterMode | mMaxFilter = EFilterMode::Linear |
Property: 'MaxFilter' maximizing filter. More... | |
EFilterMode | mMipMapMode = EFilterMode::Linear |
Property: 'MipMapMode' mip map mode. More... | |
EAddressMode | mAddressModeVertical = EAddressMode::ClampToEdge |
Property: 'AddressModeVertical' vertical address mode. More... | |
EAddressMode | mAddressModeHorizontal = EAddressMode::ClampToEdge |
Property: 'AddressModeHorizontal' horizontal address mode. More... | |
EAnisotropicSamples | mMaxAnisotropy = EAnisotropicSamples::Default |
Property: 'AnisotropicSamples' max number of anisotropic filter samples. More... | |
EBorderColor | mBorderColor = EBorderColor::IntOpaqueBlack |
Property: 'BorderColor' border color used for texture lookups. More... | |
EDepthCompareMode | mCompareMode = EDepthCompareMode::LessOrEqual |
Property: 'DepthCompareMode' specifies the comparison operator to apply to sampled data. More... | |
bool | mEnableCompare = false |
Property: 'EnableCompare' enables texture compare operations for this sampler. More... | |
float | mLodBias = 0.0f |
Property: 'LodBias' bias value that is added to the LOD level. More... | |
uint32 | mMinLodLevel = 0 |
Property: 'MinLodLevel' minimum considered LOD, > 0 = exclude highest lod. More... | |
uint32 | mMaxLodLevel = 1000 |
Property: 'MaxLodLevel' max number of considered LODs, 0 = only consider highest lod. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Sampler resource base class.
|
default |
EAddressMode mAddressModeHorizontal = EAddressMode::ClampToEdge |
Property: 'AddressModeHorizontal' horizontal address mode.
EAddressMode mAddressModeVertical = EAddressMode::ClampToEdge |
Property: 'AddressModeVertical' vertical address mode.
EBorderColor mBorderColor = EBorderColor::IntOpaqueBlack |
Property: 'BorderColor' border color used for texture lookups.
EDepthCompareMode mCompareMode = EDepthCompareMode::LessOrEqual |
Property: 'DepthCompareMode' specifies the comparison operator to apply to sampled data.
bool mEnableCompare = false |
Property: 'EnableCompare' enables texture compare operations for this sampler.
float mLodBias = 0.0f |
Property: 'LodBias' bias value that is added to the LOD level.
EAnisotropicSamples mMaxAnisotropy = EAnisotropicSamples::Default |
Property: 'AnisotropicSamples' max number of anisotropic filter samples.
EFilterMode mMaxFilter = EFilterMode::Linear |
Property: 'MaxFilter' maximizing filter.
uint32 mMaxLodLevel = 1000 |
Property: 'MaxLodLevel' max number of considered LODs, 0 = only consider highest lod.
EFilterMode mMinFilter = EFilterMode::Linear |
Property: 'MinFilter' minimizing filter.
uint32 mMinLodLevel = 0 |
Property: 'MinLodLevel' minimum considered LOD, > 0 = exclude highest lod.
EFilterMode mMipMapMode = EFilterMode::Linear |
Property: 'MipMapMode' mip map mode.
std::string mName |
Property: 'Name' sampler shader name.