2026-03-16 17:33:46 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstddef>
|
|
|
|
|
#include <pd/lithium/vertex.hpp>
|
|
|
|
|
|
|
|
|
|
namespace PD {
|
|
|
|
|
namespace Li {
|
2026-03-17 16:47:19 +01:00
|
|
|
PD_API void InitPools(size_t max_vertices = 32768);
|
|
|
|
|
PD_API Vertex* AllocateVertices(size_t count);
|
|
|
|
|
PD_API u16* AllocateIndices(size_t count);
|
2026-03-16 17:33:46 +01:00
|
|
|
} // namespace Li
|
|
|
|
|
} // namespace PD
|