Public Member Functions | Public Attributes | Protected Attributes | List of all members
ion::Graphics::CUniformCallback< T > Class Template Reference

Implementation of IUniformTyped that uses a given lambda callback to provide uniform value. More...

#include <IUniform.h>

Inheritance diagram for ion::Graphics::CUniformCallback< T >:
Inheritance graph
[legend]
Collaboration diagram for ion::Graphics::CUniformCallback< T >:
Collaboration graph
[legend]

Public Member Functions

 CUniformCallback (std::function< T()> const callback)
 
void const * GetData () const
 
- Public Member Functions inherited from ion::Graphics::IUniformTyped< T >
EUniformType GetType () const
 
size_t GetSize () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 
template<>
EUniformType GetType () const
 

Public Attributes

std::function< T()> Callback
 

Protected Attributes

Temporary
 

Detailed Description

template<typename T>
class ion::Graphics::CUniformCallback< T >

Implementation of IUniformTyped that uses a given lambda callback to provide uniform value.

Constructor & Destructor Documentation

template<typename T >
ion::Graphics::CUniformCallback< T >::CUniformCallback ( std::function< T()> const  callback)
inline

Member Function Documentation

template<typename T >
void const* ion::Graphics::CUniformCallback< T >::GetData ( ) const
inlinevirtual

Member Data Documentation

template<typename T >
std::function<T()> ion::Graphics::CUniformCallback< T >::Callback
template<typename T >
T ion::Graphics::CUniformCallback< T >::Temporary
mutableprotected

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