Add Drawlist

- Add Pool iterator support
- Add Pool Expandability
- Add Pool::Push
- Add Lithium Maths API
- Remove InitPools
- update spirv-helper
This commit is contained in:
2026-09-06 16:06:14 +02:00
committed by tobid7
parent e8fdd586cf
commit fc76a4f3fe
13 changed files with 541 additions and 42 deletions
-5
View File
@@ -6,11 +6,6 @@ namespace Li {
PD::Pool<Vertex> pVtxPool;
PD::Pool<u16> pIdxPool;
PD_API void InitPools(size_t max_vertices) {
pVtxPool.Init(max_vertices);
pIdxPool.Init(max_vertices * 2);
}
PD_API Vertex* AllocateVertices(size_t count) {
return pVtxPool.Allocate(count);
}