From c3737fff1be704e14a2bada69bbf8a6709c5f670 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Wed, 17 Jul 2024 23:12:42 +1000 Subject: wip shader layouts for common stuff --- 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 7cc9459..9343962 100644 --- a/src/ral/ral_impl.h +++ b/src/ral/ral_impl.h @@ -52,6 +52,7 @@ PUB void GPU_BufferUpload(BufferHandle buffer, size_t n_bytes, const void* data) // --- Textures PUB TextureHandle GPU_TextureCreate(TextureDesc desc, bool create_view, const void* data); +PUB GPU_Texture* GPU_TextureAlloc(TextureHandle* out_handle); PUB void GPU_TextureDestroy(TextureHandle handle); PUB void GPU_TextureUpload(TextureHandle handle, size_t n_bytes, const void* data); -- cgit v1.2.3-70-g09d2