|
Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
|
Struct for passing constant data directly via Vulkan push constants to shaders. More...
#include <pushconstants.hpp>
Public Attributes | |
| glm::mat4 | model |
| Model matrix of the object being rendered. | |
| glm::vec4 | color |
| Base color multiplier. | |
| glm::mat4 | viewProj |
| Precomputed view-projection matrix. | |
| glm::vec4 | camPos |
| Camera position in world space. | |
| float | scale |
| Scale factor. | |
| float | fade |
| Fade amount (e.g., for grids). | |
Struct for passing constant data directly via Vulkan push constants to shaders.
| glm::vec4 PushConstants::camPos |
Camera position in world space.
| glm::vec4 PushConstants::color |
Base color multiplier.
| float PushConstants::fade |
Fade amount (e.g., for grids).
| glm::mat4 PushConstants::model |
Model matrix of the object being rendered.
| float PushConstants::scale |
Scale factor.
| glm::mat4 PushConstants::viewProj |
Precomputed view-projection matrix.