Rasterfarm-SDK
Loading...
Searching...
No Matches
UniformBuffer< T > Class Template Referenceabstract

#include <uniform.h>

Inheritance diagram for UniformBuffer< T >:
Uniform DynamicType UniformValue< T > UniformArrayValue< T >

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

TpBuffer
 
- Protected Attributes inherited from Uniform
Handle binding
 
UniformBufferHandle ubo
 
uint count
 

Constructor & Destructor Documentation

◆ UniformBuffer()

template<typename T >
UniformBuffer< T >::UniformBuffer ( Handle binding,
T * pBuffer,
int count )
inline

◆ ~UniformBuffer()

template<typename T >
virtual UniformBuffer< T >::~UniformBuffer ( )
virtual

Member Function Documentation

◆ setBuffer()

template<typename T >
void UniformBuffer< T >::setBuffer ( T * pBuffer)
inline

◆ submit()

Member Data Documentation

◆ pBuffer

template<typename T >
T* UniformBuffer< T >::pBuffer
protected

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