Class Mesh#
Defined in File Mesh.ixx
Class Documentation#
-
class Mesh#
Public Functions
-
Mesh(VulkanDevice *device, vk::Queue transfer_queue, vk::CommandPool 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 vk::Buffer &getVertexBuffer()#
-
inline vk::Buffer &getMaterialIDBuffer()#
-
inline vk::Buffer &getIndexBuffer()#
-
void setModel(glm::mat4 new_model)#
-
~Mesh()#
-
Mesh(VulkanDevice *device, vk::Queue transfer_queue, vk::CommandPool transfer_command_pool, std::vector<Vertex> &vertices, std::vector<uint32_t> &indices, std::vector<unsigned int> &materialIndex, std::vector<ObjMaterial> &materials)#