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::RenderData Struct Referencefinal

Uniform data passed to shader about an entity. More...

#include <RenderData.hpp>

+ Collaboration diagram for galaxy::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.
 
std::uint64_t handle
 Texture handle.
 

Detailed Description

Uniform data passed to shader about an entity.

Definition at line 19 of file RenderData.hpp.

Member Data Documentation

◆ transform

glm::mat4 galaxy::RenderData::transform

Orthographic transform.

Definition at line 24 of file RenderData.hpp.

◆ colour

glm::vec4 galaxy::RenderData::colour

Colour / tint.

Definition at line 29 of file RenderData.hpp.

◆ entity

int galaxy::RenderData::entity

Entity ID.

Definition at line 34 of file RenderData.hpp.

◆ point

bool galaxy::RenderData::point

Is this being rendered with GL_POINTS.

Definition at line 39 of file RenderData.hpp.

◆ handle

std::uint64_t galaxy::RenderData::handle

Texture handle.

Definition at line 44 of file RenderData.hpp.


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