Cleanup Scene file

- Introduce new class ComponentHandler which handles all the
  Serializing/Deserializing/Editor Gui of Components
- Currently only Deserializing and Editor Gui is implemented for
  existing components
This commit is contained in:
Thraix
2023-07-18 14:03:20 +02:00
parent ca61bae014
commit 3d82b12cbe
10 changed files with 599 additions and 388 deletions
@@ -21,7 +21,7 @@ namespace Copium
void IndexBuffer::Draw(const CommandBuffer& commandBuffer, int indices)
{
CP_ASSERT(indices > 0 && indices <= indexCount, "amount of indices is out of range");
CP_ASSERT(indices >= 0 && indices <= indexCount, "amount of indices is out of range");
vkCmdDrawIndexed(commandBuffer, indices, 1, 0, 0, 0);
}
}