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
RenderData.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_GRAPHICS_RENDERDATA_HPP_
9#define GALAXY_GRAPHICS_RENDERDATA_HPP_
10
11#include <glm/mat4x4.hpp>
12#include <glm/vec4.hpp>
13
14namespace galaxy
15{
19 struct alignas(16) RenderData final
20 {
24 glm::mat4 transform;
25
29 glm::vec4 colour;
30
34 int entity;
35
39 bool point;
40
44 std::uint64_t handle;
45 };
46} // namespace galaxy
47
48#endif
Animated.cpp galaxy.
Definition Animated.cpp:16
Uniform data passed to shader about an entity.
std::uint64_t handle
Texture handle.
glm::mat4 transform
Orthographic transform.
glm::vec4 colour
Colour / tint.
int entity
Entity ID.
bool point
Is this being rendered with GL_POINTS.