summaryrefslogtreecommitdiff
path: root/src/new_render/render.h
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-14 21:47:25 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-14 21:47:25 +1000
commit529a603128d5e9dc4701322f44961f165e2183e1 (patch)
tree3e5d65ac503b971412ae35bfc5fb67a438a3c364 /src/new_render/render.h
parent5b001d39d42314085164724d3a417fb8ebd54f98 (diff)
generate api docs python
Diffstat (limited to 'src/new_render/render.h')
-rw-r--r--src/new_render/render.h7
1 files changed, 6 insertions, 1 deletions
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