8 #ifndef VERTEX_BUFFER_HPP 9 #define VERTEX_BUFFER_HPP 11 #include <SimpleGL_vk/SimpleGL_vk_Export.h> 15 #include <vulkan/vulkan.h> 17 #include <glm/glm.hpp> 33 VkDeviceMemory memory;
58 void upload(std::vector<float> data);
65 void upload(std::vector<glm::vec2> data);
72 void upload(std::vector<glm::vec3> data);
79 void upload(std::vector<glm::vec4> data);
94 VkDeviceMemory memory;
112 VkBuffer getHandle();
119 void upload(std::vector<glm::mat2> data);
126 void upload(std::vector<glm::mat3> data);
133 void upload(std::vector<glm::mat4> data);
Generic namespace for the SimpleGL framework.
This class wraps a Vulkan vertex buffer.