Rasterfarm-SDK
Loading...
Searching...
No Matches
Texel::Sampler Class Referenceabstract

#include <sampler.h>

Inheritance diagram for Texel::Sampler:
Component Texel::Texture Texel::Reflection2D Texel::Shadow2D Texel::Texture2D Texel::TextureCube Texel::BlurHorizontal2D Texel::NN2D Texel::Normal2D Texel::BlurHorizontal2D5 Texel::BlurHorizontal2D9

Public Member Functions

 Sampler (const char *samplerName, const Attribute &attribute)
 
virtual ~Sampler ()
 
virtual void create (Material *pMaterial)=0
 
virtual void update (Material *pMaterial)=0
 
virtual void addShaderResources (Material *pMaterial)
 
virtual void addShaderCode (Material *pMaterial)=0
 
uint getSamplerIndex ()
 

Protected Member Functions

void setSamplerName (uint samplerIndex)
 

Protected Attributes

String samplerName
 
TextureUnit samplerIndex
 

Friends

class Surface::Material
 

Constructor & Destructor Documentation

◆ Sampler()

Texel::Sampler::Sampler ( const char * samplerName,
const Attribute & attribute )

◆ ~Sampler()

virtual Texel::Sampler::~Sampler ( )
virtual

Member Function Documentation

◆ addShaderCode()

◆ addShaderResources()

◆ create()

virtual void Texel::Sampler::create ( Material * pMaterial)
pure virtual

◆ getSamplerIndex()

uint Texel::Sampler::getSamplerIndex ( )
inline

◆ setSamplerName()

void Texel::Sampler::setSamplerName ( uint samplerIndex)
protected

◆ update()

virtual void Texel::Sampler::update ( Material * pMaterial)
pure virtual

Friends And Related Symbol Documentation

◆ Surface::Material

friend class Surface::Material
friend

Member Data Documentation

◆ samplerIndex

TextureUnit Texel::Sampler::samplerIndex
protected

◆ samplerName

String Texel::Sampler::samplerName
protected

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