molecular
|
Collection of uniform variables. More...
#include <Material.h>
Public Member Functions | |
template<class TRenderManager > | |
Material (TRenderManager &renderManager) | |
Material (TextureManager &textureManager, gfx::Scoping &scoping) | |
~Material () | |
template<class T > | |
void | SetUniform (Hash hash, const T &variable) |
void | SetTexture (Hash hash, Hash textureFileName) |
void | Bind (int lodLevel=0) |
Binds alls material variables to the current DynamicScoping scope. More... | |
void | Unbind () |
Unbinds alls material variables from the current DynamicScoping scope. More... | |
Collection of uniform variables.
|
inlineexplicit |
|
inline |
molecular::gfx::Material::~Material | ( | ) |
void molecular::gfx::Material::Bind | ( | int | lodLevel = 0 | ) |
Binds alls material variables to the current DynamicScoping scope.
Use MaterialBinding for automatic binding!
|
inline |
void molecular::gfx::Material::Unbind | ( | ) |
Unbinds alls material variables from the current DynamicScoping scope.
Use MaterialBinding for automatic binding!