Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
|
#include <ColorMaterial.h>
Public Member Functions | |
ColorMaterial (const glm::vec3 &color) | |
const glm::vec3 & | getColor () const |
void | setColor (const glm::vec3 &color) |
virtual void | setUniforms (Shader *shader) |
Simple material that contains one color to color an entire MeshInstance
|
virtual |
Purely virtual function to set the shader uniforms of the material before a mesh is drawn.
Implements Material.