Rasterfarm-SDK
Loading...
Searching...
No Matches
Engine::UniformValue< T > Class Template Reference

#include <uniform.h>

Inheritance diagram for Engine::UniformValue< T >:
Engine::UniformBuffer< T, LENGTH > Engine::UniformBuffer< T, 1 > Engine::Uniform Engine::Uniform Engine::Uniform Engine::Uniform DynamicType DynamicType DynamicType DynamicType UniformValue1f UniformValue1i

Public Member Functions

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

Protected Attributes

T value
 
- Protected Attributes inherited from Engine::UniformBuffer< T, LENGTH >
TpBuffer
 
- Protected Attributes inherited from Engine::Uniform
Handle binding
 
UniformBufferHandle ubo
 
uint count
 
- Protected Attributes inherited from Engine::UniformBuffer< T, 1 >
TpBuffer
 

Constructor & Destructor Documentation

◆ UniformValue()

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

◆ ~UniformValue()

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

Member Function Documentation

◆ set()

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

Member Data Documentation

◆ value

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

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