Public Member Functions | Public Attributes | List of all members
Sampler Class Reference

#include <sampler.h>

Public Member Functions

 Sampler ()=default
- Public Member Functions inherited from Resource
 Resource ()
- Public Member Functions inherited from Object
 Object ()
virtual ~Object ()
virtual bool init (utility::ErrorState &errorState)
virtual void onDestroy ()
 Object (Object &)=delete
Objectoperator= (const Object &)=delete
 Object (Object &&)=delete
Objectoperator= (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...
uint32 mMaxLodLevel = 1000
 Property: 'MaxLodLevel' max number of considered LODs, 0 = only consider highest lod. More...
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)


Sampler resource base class.

Inheritance diagram for Sampler:
Collaboration diagram for Sampler:

Constructor & Destructor Documentation

◆ Sampler()

Sampler ( )

Member Data Documentation

◆ mAddressModeHorizontal

EAddressMode mAddressModeHorizontal = EAddressMode::ClampToEdge

Property: 'AddressModeHorizontal' horizontal address mode.

◆ mAddressModeVertical

EAddressMode mAddressModeVertical = EAddressMode::ClampToEdge

Property: 'AddressModeVertical' vertical address mode.

◆ mMaxAnisotropy

Property: 'AnisotropicSamples' max number of anisotropic filter samples.

◆ mMaxFilter

Property: 'MaxFilter' maximizing filter.

◆ mMaxLodLevel

uint32 mMaxLodLevel = 1000

Property: 'MaxLodLevel' max number of considered LODs, 0 = only consider highest lod.

◆ mMinFilter

Property: 'MinFilter' minimizing filter.

◆ mMipMapMode

Property: 'MipMapMode' mip map mode.

◆ mName

std::string mName

Property: 'Name' sampler shader name.