diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-07 10:51:37 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-07 10:51:37 +1000 |
commit | 945f84d0a1201b60dc470331d38ff6c1853a1149 (patch) | |
tree | 7ad56990df839a8261d4c57123fe495ce9940037 /src/renderer/ral.h | |
parent | 1c27e3c4d42b79e38feb56974f66a2caf3f5a53d (diff) |
framebuffers, and create commandbuffer
Diffstat (limited to 'src/renderer/ral.h')
-rw-r--r-- | src/renderer/ral.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/renderer/ral.h b/src/renderer/ral.h index 15c66ef..b09e1ae 100644 --- a/src/renderer/ral.h +++ b/src/renderer/ral.h @@ -80,8 +80,9 @@ void gpu_pipeline_destroy(gpu_pipeline* pipeline); bool gpu_swapchain_create(gpu_swapchain* out_swapchain); void gpu_swapchain_destroy(gpu_swapchain* swapchain); -void gpu_cmd_encoder_begin(); -void gpu_cmd_encoder_begin_render(); +gpu_cmd_encoder gpu_cmd_encoder_create(); +void gpu_cmd_encoder_begin(gpu_cmd_encoder encoder); +void gpu_cmd_encoder_begin_render(gpu_renderpass* renderpass); void gpu_cmd_encoder_begin_compute(); /* Actual commands that we can encode */ |