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

#include <uniform.h>

Inheritance diagram for Engine::Uniform:
DynamicType Engine::UniformBuffer< T, 1 > Engine::UniformBuffer< T, 1 > Engine::UniformBuffer< T, LENGTH > Engine::UniformBuffer< T, LENGTH > Engine::UniformSampler Engine::UniformSampler Engine::UniformValue< T > Engine::UniformValue< T > UniformBuffer1f UniformBuffer1i UniformBuffer2f UniformBuffer3f UniformBuffer4f UniformMatrix3f UniformMatrix4f Engine::UniformValue< T > UniformBuffer1f UniformBuffer1i UniformBuffer2f UniformBuffer3f UniformBuffer4f UniformMatrix3f UniformMatrix4f Engine::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()

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

◆ ~Uniform()

virtual Engine::Uniform::~Uniform ( )
inlinevirtual

Member Function Documentation

◆ getBufferObjectHandle()

UniformBufferHandle Engine::Uniform::getBufferObjectHandle ( )
inline

◆ getCount()

uint Engine::Uniform::getCount ( ) const
inline

◆ submit()

virtual void Engine::Uniform::submit ( Program * pProgram)
pure virtual

Member Data Documentation

◆ binding

Handle Engine::Uniform::binding
protected

◆ count

uint Engine::Uniform::count
protected

◆ ubo

UniformBufferHandle Engine::Uniform::ubo
protected

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