command buffer basic lifecycle

This commit is contained in:
Gregory Wells
2025-08-12 23:56:35 -04:00
parent 5b43e3d5be
commit 8fc99079dc
3 changed files with 38 additions and 1 deletions

View File

@@ -5,3 +5,8 @@ typedef struct gnPlatformCommandBuffer_t {
int index;
} gnPlatformCommandBuffer;
gnReturnCode openglCommandPoolAllocateCommandBuffers(gnCommandBufferHandle* commandBuffers, uint32_t count, gnCommandPoolHandle pool);
void openglResetCommandBuffer(gnCommandBuffer commandBuffer);
gnReturnCode openglBeginCommandBuffer(gnCommandBuffer commandBuffer);
gnReturnCode openglEndCommandBuffer(gnCommandBuffer commandBuffer);
void openglDestroyCommandBuffer(gnCommandBuffer commandBuffer);