We got GameObjects / Components and shit
This commit is contained in:
@@ -127,3 +127,9 @@ void MeshPipeline::draw(VkCommandBuffer cmd,
|
||||
vkCmdDrawIndexed(cmd, mesh.numIndices, 1, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void MeshPipeline::cleanup(VkDevice device) {
|
||||
vkDestroyPipelineLayout(device, m_pipelineLayout, nullptr);
|
||||
m_pipeline.reset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user