载入中...
搜索中...
未找到
eve::gpgpu::EcsGpuWorkspace< Comp > 模板类 参考
Reusable typed CPU staging for a GPU ECS component stream. Ownership stays with the caller; one workspace must not be used concurrently. 更多...
#include <EcsGpu.h>
Public 成员函数 | |
| void | reserveEntities (int entityCount) |
| Reserve staging storage for at least entityCount components. | |
| size_t | entityCapacity () const |
| Current allocated staging capacity expressed as entity records. | |
友元 | |
| template<typename Base , typename C > | |
| int | packViewComponent (ShaderSystem &, int, EcsGpuWorkspace< C > &) |
| template<typename Base , typename C > | |
| int | packViewComponentRange (ShaderSystem &, int, int, int, EcsGpuWorkspace< C > &) |
| template<typename Base , typename C > | |
| void | unpackViewComponent (ShaderSystem &, int, int, EcsGpuWorkspace< C > &) |
| template<typename Base , typename C > | |
| int | unpackViewComponentRange (ShaderSystem &, int, int, int, EcsGpuWorkspace< C > &) |
详细描述
template<typename Comp>
class eve::gpgpu::EcsGpuWorkspace< Comp >
class eve::gpgpu::EcsGpuWorkspace< Comp >
Reusable typed CPU staging for a GPU ECS component stream. Ownership stays with the caller; one workspace must not be used concurrently.
EcsGpuWorkspace public API.
成员函数说明
◆ entityCapacity()
template<typename Comp >
|
inline |
◆ reserveEntities()
template<typename Comp >
|
inline |
友元及相关函数文档
◆ packViewComponent
template<typename Comp >
template<typename Base , typename C >
|
friend |
◆ packViewComponentRange
template<typename Comp >
template<typename Base , typename C >
|
friend |
◆ unpackViewComponent
template<typename Comp >
template<typename Base , typename C >
|
friend |
◆ unpackViewComponentRange
template<typename Comp >
template<typename Base , typename C >
|
friend |
该类的文档由以下文件生成:
- src/modules/gpgpu/EcsGpu.h