#include <RenderState.hpp>
Contain all the data needed to draw. More...
Contain all the data needed to draw.
Definition at line 17 of file RenderState.hpp.
Public Attributes | |
ShaderProgram | shader_program |
The shader used. More... | |
Texture | texture |
The texture 0 bound. More... | |
VertexArray | vertex_array |
The shape to to be drawn. More... | |
glm::mat4 | view = glm::mat4(1.f) |
The "view" transformation. More... | |
glm::vec4 | color = glm::vec4(0.f) |
The masking color. More... | |
BlendMode | blend_mode = BlendMode::Alpha |
The OpenGL BlendMode. More... | |
BlendMode smk::RenderState::blend_mode = BlendMode::Alpha |
The OpenGL BlendMode.
Definition at line 23 of file RenderState.hpp.
glm::vec4 smk::RenderState::color = glm::vec4(0.f) |
The masking color.
Definition at line 22 of file RenderState.hpp.
ShaderProgram smk::RenderState::shader_program |
The shader used.
Definition at line 18 of file RenderState.hpp.
Texture smk::RenderState::texture |
The texture 0 bound.
Definition at line 19 of file RenderState.hpp.
VertexArray smk::RenderState::vertex_array |
The shape to to be drawn.
Definition at line 20 of file RenderState.hpp.
glm::mat4 smk::RenderState::view = glm::mat4(1.f) |
The "view" transformation.
Definition at line 21 of file RenderState.hpp.