Rasterfarm-SDK
|
#include <uniform.h>
Public Member Functions | |
UniformSampler (Handle binding, Texture *pTexture, TextureType textureType, uint count) | |
virtual | ~UniformSampler () |
virtual void | submit (Program *pProgram) |
Texture * | getTexture () |
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 |
Texture * | pTexture |
TextureType | textureType |
Protected Attributes inherited from Engine::Uniform | |
Handle | binding |
UniformBufferHandle | ubo |
uint | count |
Engine::UniformSampler::UniformSampler | ( | Handle | binding, |
Texture * | pTexture, | ||
TextureType | textureType, | ||
uint | count ) |
|
virtual |
|
inline |
|
inline |
void Engine::UniformSampler::setTexture | ( | Texture * | pTexture, |
TextureType | textureType ) |
|
virtual |
Implements Engine::Uniform.
|
protected |
|
protected |
|
protected |