Carna
Version 3.0.1
|
Type-independent abstract ShaderUniform base class. More...
#include <ShaderUniform.h>
Public Member Functions | |
ShaderUniformBase (const std::string &name) | |
Instantiates. | |
virtual | ~ShaderUniformBase () |
Does nothing. | |
bool | upload () const |
Uploads this uniform to the current shader. Returns true if the current shader has a matching uniform defined or false otherwise. | |
Public Attributes | |
std::string | name |
Holds the name of this uniform. | |
Protected Member Functions | |
virtual void | uploadTo (int location) const =0 |
Uploads this uniform to location. | |
Type-independent abstract ShaderUniform base class.
Definition at line 76 of file ShaderUniform.h.
Documentation generated by Doxygen