26 #ifndef MATERIALCORE_H_ 27 #define MATERIALCORE_H_ static const size_t BUFFER_SIZE
static const size_t SHININESS_OFFSET
MaterialCore * setAmbientAndDiffuse(const glm::vec4 &color)
static const size_t AMBIENT_OFFSET
Local header file for GLM OpenGL Mathematics library.
static const size_t FLOAT_SIZE
MaterialCore * setDiffuse(const glm::vec4 &color)
static MaterialCoreSP create()
Base class for all cores (abstract).
MaterialCore * setShininess(GLfloat shininess)
static const size_t VEC4_SIZE
A core to set material properties for lighting to be applied to subsequent geometry.
Local header file for GLEW library.
MaterialCore * setAmbient(const glm::vec4 &color)
MaterialCore * setSpecular(const glm::vec4 &color)
static const size_t EMISSION_OFFSET
MaterialCore * setEmission(const glm::vec4 &color)
The central render state that collects information about the current shader, transformations,...
static const size_t SPECULAR_OFFSET
Internal definitions required by most classes.
Base class for all cores (abstract).
static const size_t DIFFUSE_OFFSET
virtual void render(RenderState *renderState)
virtual void renderPost(RenderState *renderState)