Rasterfarm-SDK
|
#include <uniform.h>
Public Member Functions | |
UniformBuffer (Handle binding, T *pBuffer, int count) | |
virtual | ~UniformBuffer () |
void | setBuffer (T *pBuffer) |
virtual void | submit (Program *pProgram)=0 |
Public Member Functions inherited from 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 | |
T * | pBuffer |
Protected Attributes inherited from Uniform | |
Handle | binding |
UniformBufferHandle | ubo |
uint | count |
|
inline |
|
virtual |
|
inline |
|
pure virtual |
Implements Uniform.
Implemented in UniformArrayValue< T >, UniformBuffer1f, UniformBuffer1i, UniformBuffer2f, UniformBuffer3f, UniformBuffer4f, UniformMatrix3f, UniformMatrix4f, UniformMatrix< MATRIX >, UniformMatrix< Matrix3f >, UniformMatrix< Matrix4f >, UniformSampler, UniformValue1f, UniformValue1i, UniformValue< T >, UniformValue< float >, and UniformValue< int >.
|
protected |