From 529a603128d5e9dc4701322f44961f165e2183e1 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Sun, 14 Jul 2024 21:47:25 +1000 Subject: generate api docs python --- src/new_render/render.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/new_render/render.h') diff --git a/src/new_render/render.h b/src/new_render/render.h index b0b5495..6e9f380 100644 --- a/src/new_render/render.h +++ b/src/new_render/render.h @@ -24,6 +24,10 @@ typedef struct RenderCtx { PUB bool Renderer_Init(RendererConfig config, Renderer* renderer); PUB void Renderer_Shutdown(Renderer* renderer); +PUB size_t Renderer_GetMemReqs(); + +// internal init functions +void DefaultPipelinesInit(Renderer* renderer); // NOTE: All of these functions grab the Renderer instance off the global Core PUB void Render_FrameBegin(Renderer* renderer); @@ -37,12 +41,13 @@ PUB void Render_RenderEntities(RenderEnt* entities, size_t entity_count); // --- Resources PUB TextureHandle TextureUpload(); -PUB ModelHandle ModelLoad(const char* name, const char* filepath); +PUB ModelHandle ModelLoad(const char* debug_name, const char* filepath); // --- Rendering Data PUB Mesh Mesh_Create(Geometry* geometry, bool free_on_upload); PUB void Mesh_Delete(Mesh* mesh); +void Geometry_Destroy(Geometry* geometry); // --- Drawing -- cgit v1.2.3-70-g09d2