From e0d4e700fb690ad8a7f401da2d7d99d278e6ee5d Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 22 Jul 2024 11:06:32 +1000 Subject: reminder to add instanced rendeirng --- src/ral/ral_impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ral/ral_impl.h') 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(); -- cgit v1.2.3-70-g09d2