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:08:06 +1000 |
commit | e0d4e700fb690ad8a7f401da2d7d99d278e6ee5d (patch) | |
tree | bdcfd862aec9ca4144ba15267983d812ed1d72f6 /src | |
parent | 5a4da588b628fe3b1e612a49374b55d7075fd141 (diff) |
reminder to add instanced rendeirng
Diffstat (limited to 'src')
-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(); |