|
Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
|
Uniform Buffer Object containing view and projection matrices. More...
#include <uniforms.hpp>
Public Attributes | |
| glm::mat4 | view |
| The view matrix. | |
| glm::mat4 | proj |
| The projection matrix. | |
| glm::mat4 | viewProj |
| View-projection matrix. | |
| glm::vec4 | camPos |
| glm::vec4 | ambientLight |
| glm::vec4 | lightDir |
| glm::vec4 | lightColor |
Uniform Buffer Object containing view and projection matrices.
Representation of camera data inside Vulkan uniform buffers.
| glm::vec4 CameraUBO::ambientLight |
| glm::vec4 CameraUBO::camPos |
| glm::vec4 CameraUBO::lightColor |
| glm::vec4 CameraUBO::lightDir |
| glm::mat4 CameraUBO::proj |
The projection matrix.
| glm::mat4 CameraUBO::view |
The view matrix.
| glm::mat4 CameraUBO::viewProj |
View-projection matrix.