![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Uniform data passed to shader from entity. More...
#include <RenderData.hpp>
Public Attributes | |
glm::mat4 | transform |
Orthographic transform. | |
glm::vec4 | colour |
Colour / tint. | |
int | entity |
Entity ID. | |
bool | point |
Is this being rendered with GL_POINTS. | |
bool | textured |
Are we rendering as a texture. | |
Uniform data passed to shader from entity.
Definition at line 28 of file RenderData.hpp.
glm::mat4 galaxy::graphics::RenderData::transform |
Orthographic transform.
Definition at line 33 of file RenderData.hpp.
glm::vec4 galaxy::graphics::RenderData::colour |
Colour / tint.
Definition at line 38 of file RenderData.hpp.
int galaxy::graphics::RenderData::entity |
Entity ID.
Definition at line 43 of file RenderData.hpp.
bool galaxy::graphics::RenderData::point |
Is this being rendered with GL_POINTS.
Definition at line 48 of file RenderData.hpp.
bool galaxy::graphics::RenderData::textured |
Are we rendering as a texture.
Definition at line 53 of file RenderData.hpp.