Skip to content

Home > @esengine/ecs-framework-monorepo > ComponentSparseSet > getMemoryStats

ComponentSparseSet.getMemoryStats() method

获取内存使用统计

Signature:

typescript
getMemoryStats(): MemoryStats;

Returns:

MemoryStats

内存统计信息,包含实体内存、掩码内存、映射内存和总内存使用量

基于 MIT 许可证发布