diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-22 11:06:32 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-22 11:06:32 +1000 |
commit | 6e487f076596ea5fa1bc9b9dcb87973754b38c59 (patch) | |
tree | be26e739cdef5425b7d5c9d103c11b38c0371632 | |
parent | 5a4da588b628fe3b1e612a49374b55d7075fd141 (diff) |
reminder to add instanced rendeirng
-rw-r--r-- | src/ral/ral_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ral/ral_impl.h b/src/ral/ral_impl.h index 5376920..6e0ccc0 100644 --- a/src/ral/ral_impl.h +++ b/src/ral/ral_impl.h @@ -79,6 +79,7 @@ PUB void GPU_EncodeSetVertexBuffer(GPU_CmdEncoder* encoder, BufferHandle buf); PUB void GPU_EncodeSetIndexBuffer(GPU_CmdEncoder* encoder, BufferHandle buf); PUB void GPU_EncodeDraw(GPU_CmdEncoder* encoder, u64 count); PUB void GPU_EncodeDrawIndexed(GPU_CmdEncoder* encoder, u64 index_count); +PUB void GPU_EncodeDrawInstanced(GPU_CmdEncoder* encoder, u64 index_count, u64 instance_count); // TODO: implement instanced rendering // --- Frame cycle PUB bool GPU_Backend_BeginFrame(); |