galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::graphics::RenderData Struct Referencefinal

Uniform data passed to shader from entity. More...

#include <RenderData.hpp>

+ Collaboration diagram for galaxy::graphics::RenderData:

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.
 

Detailed Description

Uniform data passed to shader from entity.

Definition at line 28 of file RenderData.hpp.

Member Data Documentation

◆ transform

glm::mat4 galaxy::graphics::RenderData::transform

Orthographic transform.

Definition at line 33 of file RenderData.hpp.

◆ colour

glm::vec4 galaxy::graphics::RenderData::colour

Colour / tint.

Definition at line 38 of file RenderData.hpp.

◆ entity

int galaxy::graphics::RenderData::entity

Entity ID.

Definition at line 43 of file RenderData.hpp.

◆ point

bool galaxy::graphics::RenderData::point

Is this being rendered with GL_POINTS.

Definition at line 48 of file RenderData.hpp.

◆ textured

bool galaxy::graphics::RenderData::textured

Are we rendering as a texture.

Definition at line 53 of file RenderData.hpp.


The documentation for this struct was generated from the following file: