Rasterfarm-SDK
Loading...
Searching...
No Matches
UniformMatrix< MATRIX > Class Template Referenceabstract

#include <uniform.h>

Inheritance diagram for UniformMatrix< MATRIX >:
UniformBuffer< float > Uniform DynamicType

Public Member Functions

 UniformMatrix (Handle binding, MATRIX *pMatrix=nullptr, uint count=1)
 
virtual ~UniformMatrix ()
 
void setMatrix (MATRIX *pMatrix)
 
virtual void submit (Program *pProgram)=0
 
- Public Member Functions inherited from UniformBuffer< float >
 UniformBuffer (Handle binding, float *pBuffer, int count)
 
virtual ~UniformBuffer ()
 
void setBuffer (float *pBuffer)
 
- 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
 

Additional Inherited Members

- Protected Attributes inherited from UniformBuffer< float >
floatpBuffer
 
- Protected Attributes inherited from Uniform
Handle binding
 
UniformBufferHandle ubo
 
uint count
 

Constructor & Destructor Documentation

◆ UniformMatrix()

template<typename MATRIX >
UniformMatrix< MATRIX >::UniformMatrix ( Handle binding,
MATRIX * pMatrix = nullptr,
uint count = 1 )
inline

◆ ~UniformMatrix()

template<typename MATRIX >
virtual UniformMatrix< MATRIX >::~UniformMatrix ( )
inlinevirtual

Member Function Documentation

◆ setMatrix()

template<typename MATRIX >
void UniformMatrix< MATRIX >::setMatrix ( MATRIX * pMatrix)
inline

◆ submit()

template<typename MATRIX >
virtual void UniformMatrix< MATRIX >::submit ( Program * pProgram)
pure virtual

Implements UniformBuffer< float >.

Implemented in UniformMatrix3f, and UniformMatrix4f.


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