Rasterfarm-SDK
Loading...
Searching...
No Matches
Engine::UniformSampler Class Reference

#include <uniform.h>

Inheritance diagram for Engine::UniformSampler:
Engine::Uniform Engine::Uniform DynamicType DynamicType

Public Member Functions

 UniformSampler (Handle binding, Texture *pTexture, TextureType textureType, uint count)
 
virtual ~UniformSampler ()
 
virtual void submit (Program *pProgram)
 
TexturegetTexture ()
 
TextureType getTextureType ()
 
void setTexture (Texture *pTexture, TextureType textureType)
 
- Public Member Functions inherited from Engine::Uniform
 Uniform (Handle binding, UniformBufferHandle ubo, uint count)
 
virtual ~Uniform ()
 
UniformBufferHandle getBufferObjectHandle ()
 
uint getCount () const
 
- Public Member Functions inherited from DynamicType
 DynamicType ()
 
template<class C >
void addType ()
 
TypeID getDerivedTypeId () const
 
template<class C >
const bool isType () const
 
template<class C >
const C * cast () const
 
template<class C >
C * cast ()
 
template<class FROM , class TO >
TO * cast ()
 
template<class FROM , class TO >
const TO * cast () const
 

Protected Attributes

bool updatePending
 
TexturepTexture
 
TextureType textureType
 
- Protected Attributes inherited from Engine::Uniform
Handle binding
 
UniformBufferHandle ubo
 
uint count
 

Constructor & Destructor Documentation

◆ UniformSampler()

Engine::UniformSampler::UniformSampler ( Handle binding,
Texture * pTexture,
TextureType textureType,
uint count )

◆ ~UniformSampler()

virtual Engine::UniformSampler::~UniformSampler ( )
virtual

Member Function Documentation

◆ getTexture()

Texture * Engine::UniformSampler::getTexture ( )
inline

◆ getTextureType()

TextureType Engine::UniformSampler::getTextureType ( )
inline

◆ setTexture()

void Engine::UniformSampler::setTexture ( Texture * pTexture,
TextureType textureType )

◆ submit()

virtual void Engine::UniformSampler::submit ( Program * pProgram)
virtual

Implements Engine::Uniform.

Member Data Documentation

◆ pTexture

Texture* Engine::UniformSampler::pTexture
protected

◆ textureType

TextureType Engine::UniformSampler::textureType
protected

◆ updatePending

bool Engine::UniformSampler::updatePending
protected

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