summaryrefslogtreecommitdiff
path: root/src/new_render/render.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-27 20:01:38 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-27 20:01:38 +1000
commitf37e974a19fca37d0e7999c7ffc49dcbcd50b081 (patch)
tree7b0a0989840f146cff32902e73beeefed939d625 /src/new_render/render.h
parent02fe2c010857e6c3734b3a354c4119f799947fc6 (diff)
remove some models
Diffstat (limited to 'src/new_render/render.h')
-rw-r--r--src/new_render/render.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/new_render/render.h b/src/new_render/render.h
index b7af7cb..dad3026 100644
--- a/src/new_render/render.h
+++ b/src/new_render/render.h
@@ -62,6 +62,9 @@ PUB Mesh Mesh_Create(Geometry* geometry, bool free_on_upload);
PUB void Mesh_Delete(Mesh* mesh);
void Geometry_Destroy(Geometry* geometry);
+/** @brief gets render entities from a model and pushes them into a dynamic array for rendering */
+size_t ModelExtractRenderEnts(RenderEnt_darray* entities, ModelHandle model_handle, Mat4 affine, RenderEntityFlags flags);
+
// --- Drawing
// NOTE: These functions use the globally bound camera in RenderScene