Rasterfarm-SDK
Loading...
Searching...
No Matches
Uniform Class Referenceabstract

#include <uniform.h>

Inheritance diagram for Uniform:
DynamicType UniformBuffer< float > UniformBuffer< int > UniformBuffer< T > UniformMatrix< Matrix3f > UniformMatrix< Matrix4f > UniformValue< float > UniformBuffer1f UniformBuffer2f UniformBuffer3f UniformBuffer4f UniformMatrix< MATRIX > UniformValue< int > UniformBuffer1i UniformValue< T >

Public Member Functions

 Uniform (Handle binding, UniformBufferHandle ubo, uint count)
 
virtual ~Uniform ()
 
virtual void submit (Program *pProgram)=0
 
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

Handle binding
 
UniformBufferHandle ubo
 
uint count
 

Constructor & Destructor Documentation

◆ Uniform()

Uniform::Uniform ( Handle binding,
UniformBufferHandle ubo,
uint count )

◆ ~Uniform()

virtual Uniform::~Uniform ( )
inlinevirtual

Member Function Documentation

◆ getBufferObjectHandle()

UniformBufferHandle Uniform::getBufferObjectHandle ( )
inline

◆ getCount()

uint Uniform::getCount ( ) const
inline

◆ submit()

Member Data Documentation

◆ binding

Handle Uniform::binding
protected

◆ count

uint Uniform::count
protected

◆ ubo

UniformBufferHandle Uniform::ubo
protected

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