neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::shader< Base >::cached_uniform Class Reference

#include <shader.hpp>

Public Member Functions

 cached_uniform (shader< Base > &aParent, const char *const aName, bool aShared=false)
 
const i_shader_uniform & uniform () const
 
i_shader_uniform & uniform ()
 
template<typename T >
i_shader_uniform & operator= (const T &aValue)
 

Detailed Description

template<typename Base>
class neogfx::shader< Base >::cached_uniform

Definition at line 47 of file shader.hpp.

Constructor & Destructor Documentation

◆ cached_uniform()

template<typename Base >
neogfx::shader< Base >::cached_uniform::cached_uniform ( shader< Base > &  aParent,
const char *const  aName,
bool  aShared = false 
)
inline

Definition at line 50 of file shader.hpp.

Member Function Documentation

◆ operator=()

template<typename Base >
template<typename T >
i_shader_uniform & neogfx::shader< Base >::cached_uniform::operator= ( const T &  aValue)
inline

Definition at line 72 of file shader.hpp.

◆ uniform() [1/2]

template<typename Base >
i_shader_uniform & neogfx::shader< Base >::cached_uniform::uniform ( )
inline

Definition at line 67 of file shader.hpp.

◆ uniform() [2/2]

template<typename Base >
const i_shader_uniform & neogfx::shader< Base >::cached_uniform::uniform ( ) const
inline

Definition at line 55 of file shader.hpp.


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