Move Drawable draw call recording logic out of renderer

This commit is contained in:
2021-08-01 00:37:11 +02:00
parent 8d370c9860
commit 87dad42c79
14 changed files with 251 additions and 70 deletions

View File

@@ -23,8 +23,9 @@ namespace openVulkanoCpp
UINT16 = sizeof(uint16_t), UINT32 = sizeof(uint32_t)
};
struct Geometry : public virtual ICloseable
class Geometry : public virtual ICloseable
{
public:
uint32_t vertexCount = 0, indexCount = 0;
Vertex* vertices;
void* indices;