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

@@ -3,6 +3,24 @@
gnCommandFunctions loadOpenGLCommandFunctions() {
return (gnCommandFunctions) {
._gnCommandPoolAllocateCommandBuffers = openglCommandPoolAllocateCommandBuffers
._gnCommandPoolAllocateCommandBuffers = openglCommandPoolAllocateCommandBuffers,
._gnBeginCommandBuffer = openglBeginCommandBuffer,
._gnResetCommandBuffer = openglResetCommandBuffer,
._gnEndCommandBuffer = openglEndCommandBuffer,
._gnDestroyCommandBuffer = openglDestroyCommandBuffer,
._gnCommandBeginRenderPass = NULL,
._gnCommandEndRenderPass = NULL,
._gnCommandBindGraphicsPipeline = NULL,
._gnCommandSetViewport = NULL,
._gnCommandSetScissor = NULL,
._gnCommandBindUniform = NULL,
._gnCommandPushConstant = NULL,
._gnCommandBindBuffer = NULL,
._gnCommandDraw = NULL,
._gnCommandDrawIndexed = NULL,
};
}