Crimson Engine
1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Toggle main menu visibility
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
9
struct
CameraUBO
{
11
glm::mat4
view
;
13
glm::mat4
proj
;
14
};
CameraUBO
Uniform Buffer Object containing view and projection matrices.
Definition
uniforms.hpp:9
CameraUBO::proj
glm::mat4 proj
The projection matrix.
Definition
uniforms.hpp:13
CameraUBO::view
glm::mat4 view
The view matrix.
Definition
uniforms.hpp:11
engine
include
ecs
uniforms
uniforms.hpp
Generated by
1.17.0