diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-27 20:01:38 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-27 20:01:38 +1000 |
commit | f37e974a19fca37d0e7999c7ffc49dcbcd50b081 (patch) | |
tree | 7b0a0989840f146cff32902e73beeefed939d625 /src/new_render/render.h | |
parent | 02fe2c010857e6c3734b3a354c4119f799947fc6 (diff) |
remove some models
Diffstat (limited to 'src/new_render/render.h')
-rw-r--r-- | src/new_render/render.h | 3 |
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 |