Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
27
include/Spectre/Graphics/RenderState.h
Normal file
27
include/Spectre/Graphics/RenderState.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
#ifndef SPECTRE_GRAPHICS_RENDERSTATE_H
|
||||
#define SPECTRE_GRAPHICS_RENDERSTATE_H
|
||||
|
||||
class ShaderProgram;
|
||||
class Texture;
|
||||
|
||||
class RenderState
|
||||
{
|
||||
public :
|
||||
RenderState();
|
||||
~RenderState();
|
||||
|
||||
void enableTexture(const Texture *texture);
|
||||
|
||||
void enableShader(const ShaderProgram *program);
|
||||
|
||||
void cleanup();
|
||||
|
||||
protected :
|
||||
|
||||
const Texture *m_texture;
|
||||
|
||||
const ShaderProgram *m_shader;
|
||||
};
|
||||
|
||||
#endif /* SPECTRE_GRAPHICS_RENDERSTATE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue