| Fling Engine 0.00.1 Fling Engine is a game engine written in Vulkan

UniformBufferObject.h
Go to the documentation of this file.
1 #pragma once
2
3 #include "pch.h"
4
5 #include "Buffer.h"
6
7 namespace Fling
8 {
10 struct UboVS
11 {
12 glm::mat4 Model;
13 glm::mat4 Projection;
14 glm::mat4 View;
15 glm::vec3 CamPos;
16 // The world position of this object
17 glm::vec3 ObjPos;
18 };
19
20 struct UboSkyboxVS
21 {
22 glm::mat4 Projection;
23 glm::mat4 ModelView;
24 };
25 } // namespace Fling
Fling::UboVS::Projection
glm::mat4 Projection
Definition: UniformBufferObject.h:13
Fling::UboSkyboxVS
Definition: UniformBufferObject.h:20
Fling::UboSkyboxVS::Projection
glm::mat4 Projection
Definition: UniformBufferObject.h:22
Fling::UboSkyboxVS::ModelView
glm::mat4 ModelView
Definition: UniformBufferObject.h:23
Fling::UboVS::ObjPos
glm::vec3 ObjPos
Definition: UniformBufferObject.h:17
Fling::UboVS::View
glm::mat4 View
Definition: UniformBufferObject.h:14
pch.h
Fling::UboVS
Representation of what vertex data of the dynamic UBO that there is only one of.
Definition: UniformBufferObject.h:10
Fling::UboVS::Model
glm::mat4 Model
Definition: UniformBufferObject.h:12
Buffer.h
Fling
Definition: Engine.h:29
Fling::UboVS::CamPos
glm::vec3 CamPos
Definition: UniformBufferObject.h:15