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

#include <uniform.h>

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

Public Member Functions

 UniformValue (Handle binding, T value)
 
void set (T v)
 
 ~UniformValue ()
 
virtual void submit (Program *pProgram)=0
 
- Public Member Functions inherited from UniformBuffer< T >
 UniformBuffer (Handle binding, T *pBuffer, int count)
 
virtual ~UniformBuffer ()
 
void setBuffer (T *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
 

Protected Attributes

T value
 
- Protected Attributes inherited from UniformBuffer< T >
TpBuffer
 
- Protected Attributes inherited from Uniform
Handle binding
 
UniformBufferHandle ubo
 
uint count
 

Constructor & Destructor Documentation

◆ UniformValue()

template<typename T >
UniformValue< T >::UniformValue ( Handle binding,
T value )
inline

◆ ~UniformValue()

template<typename T >
UniformValue< T >::~UniformValue ( )
inline

Member Function Documentation

◆ set()

template<typename T >
void UniformValue< T >::set ( T v)
inline

◆ submit()

template<typename T >
virtual void UniformValue< T >::submit ( Program * pProgram)
pure virtual

Member Data Documentation

◆ value

template<typename T >
T UniformValue< T >::value
protected

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