summaryrefslogtreecommitdiff
path: root/src/vk/uniform_buffer.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2022-08-30 17:45:40 -0300
committerFrederico Linhares <fred@linhares.blue>2022-08-30 17:45:40 -0300
commitf1f1576543bb4e0f3b9bc4cd0ba4a12a70546c3c (patch)
tree87160fb7462ee5b4385ba6e9b0ccb51657b2f796 /src/vk/uniform_buffer.hpp
parent42e03ddc3b28c41b81fb5410feb72750530ffa13 (diff)
feat Create 2d graphics pipeline
Diffstat (limited to 'src/vk/uniform_buffer.hpp')
-rw-r--r--src/vk/uniform_buffer.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vk/uniform_buffer.hpp b/src/vk/uniform_buffer.hpp
index 14deead..50759b8 100644
--- a/src/vk/uniform_buffer.hpp
+++ b/src/vk/uniform_buffer.hpp
@@ -26,9 +26,14 @@
namespace VK
{
+struct UBOSpritePositions
+{
+ glm::vec4 positions[128];
+};
+
struct UBOModelInstance
{
- glm::mat4 model[128];
+ glm::mat4 instances[128];
};
struct UBOViewProjection