summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-04-28 11:30:31 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-04-28 11:30:31 +1000
commit896c88ac83229d7bac62f521cc4e011cfd1d6457 (patch)
treecf6793ac3787ec9820878c654e157a27eacc3105 /src
parent5e382c2095bc4891e2952ba87609f2796f2248ad (diff)
todo
Diffstat (limited to 'src')
-rw-r--r--src/renderer/ral.h2
-rw-r--r--src/renderer/ral_types.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/renderer/ral.h b/src/renderer/ral.h
index 014c31e..6c165c9 100644
--- a/src/renderer/ral.h
+++ b/src/renderer/ral.h
@@ -77,7 +77,7 @@ void buffer_upload_bytes(buffer_handle gpu_buf, bytebuffer cpu_buf, u64 offset,
// render pass
void encode_set_vertex_buffer(gpu_cmd_encoder* encoder, buffer_handle buf);
void encode_set_index_buffer(gpu_cmd_encoder* encoder, buffer_handle buf);
-void encode_set_bind_group();
+void encode_set_bind_group(); // TODO
void encode_draw(gpu_cmd_encoder* encoder);
void encode_draw_indexed(gpu_cmd_encoder* encoder, u64 index_count);
diff --git a/src/renderer/ral_types.h b/src/renderer/ral_types.h
index 73b41f1..5f41b55 100644
--- a/src/renderer/ral_types.h
+++ b/src/renderer/ral_types.h
@@ -59,6 +59,7 @@ typedef enum vertex_format {
VERTEX_STATIC_3D,
VERTEX_SPRITE,
VERTEX_SKINNED,
+ VERTEX_COLOURED_STATIC_3D,
VERTEX_COUNT
} vertex_format;