diff options
author | Frederico Linhares <fred@linhares.blue> | 2022-08-30 17:45:40 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2022-08-30 17:45:40 -0300 |
commit | f1f1576543bb4e0f3b9bc4cd0ba4a12a70546c3c (patch) | |
tree | 87160fb7462ee5b4385ba6e9b0ccb51657b2f796 /src/vk/uniform_buffer.hpp | |
parent | 42e03ddc3b28c41b81fb5410feb72750530ffa13 (diff) |
feat Create 2d graphics pipeline
Diffstat (limited to 'src/vk/uniform_buffer.hpp')
-rw-r--r-- | src/vk/uniform_buffer.hpp | 7 |
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 |