Class Mesh
Defined in File Mesh.hpp
Class Documentation
-
class Mesh
Public Functions
-
Mesh(VulkanDevice *device, VkQueue transfer_queue, VkCommandPool transfer_command_pool, std::vector<Vertex> &vertices, std::vector<uint32_t> &indices, std::vector<unsigned int> &materialIndex, std::vector<ObjMaterial> &materials)
-
Mesh()
-
void cleanUp()
-
inline ObjectDescription &getObjectDescription()
-
inline glm::mat4 getModel()
-
inline uint32_t getVertexCount()
-
inline uint32_t getIndexCount()
-
inline VkBuffer &getVertexBuffer()
-
inline VkBuffer &getMaterialIDBuffer()
-
inline VkBuffer &getIndexBuffer()
-
void setModel(glm::mat4 new_model)
-
~Mesh()
-
Mesh(VulkanDevice *device, VkQueue transfer_queue, VkCommandPool transfer_command_pool, std::vector<Vertex> &vertices, std::vector<uint32_t> &indices, std::vector<unsigned int> &materialIndex, std::vector<ObjMaterial> &materials)