Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
uniforms.hpp
Go to the documentation of this file.
1// Renderer.h (or a separate Uniforms.h)
2#pragma once
3#include <glm/glm.hpp>
4
9struct CameraUBO {
11 glm::mat4 view;
13 glm::mat4 proj;
14};
Uniform Buffer Object containing view and projection matrices.
Definition uniforms.hpp:9
glm::mat4 proj
The projection matrix.
Definition uniforms.hpp:13
glm::mat4 view
The view matrix.
Definition uniforms.hpp:11