Resident GPU particle surface kept off the high-fanout Graphics facade. 更多...
#include <GpuParticles.h>
Public 成员函数 | |
| virtual | ~IGpuParticles ()=default |
| Releases IGpuParticles resources. | |
| virtual bool | supportsGpuParticles () const =0 |
| True when this backend supports resident compute + indirect particle draws. | |
| virtual bool | canSubmitGpuParticles () const =0 |
| True when the current frame topology can accept a GPU particle compute section. | |
| virtual GpuParticleHandle | createGpuParticleEmitter (std::uint32_t capacity)=0 |
| Allocate backend-owned resident state for one particle emitter. | |
| virtual void | releaseGpuParticleEmitter (GpuParticleHandle handle)=0 |
| Release a GPU particle emitter. Explicit release may wait for in-flight frames. | |
| virtual void | resetGpuParticleEmitter (GpuParticleHandle handle)=0 |
| Clear resident state before the next submitted frame. | |
| virtual bool | updateGpuParticleEmitter (GpuParticleHandle handle, const GpuParticleUpdate &update, const GpuParticleSpawn *spawns, std::uint32_t spawnCount)=0 |
| Upload one simulation step and optional spawn commands. @compatibility Preserves the established GPU-particle boolean submission contract. | |
| virtual bool | drawGpuParticleEmitter (GpuParticleHandle handle, const GpuParticleDraw &draw)=0 |
| Queue an indirect draw at the current 2D overlay position. @compatibility Preserves the established GPU-particle boolean submission contract. | |
| virtual GpuParticleStats | getGpuParticleStats (GpuParticleHandle handle) const =0 |
| Return the latest fence-complete counters without waiting on the GPU. | |
详细描述
Resident GPU particle surface kept off the high-fanout Graphics facade.
Backends that implement compute + indirect particle draws expose this through Graphics::gpuParticles(). Handle-only Graphics includers never see spawn / draw layout records.
在文件 GpuParticles.h 第 130 行定义.
构造及析构函数说明
◆ ~IGpuParticles()
|
virtualdefault |
Releases IGpuParticles resources.
成员函数说明
◆ canSubmitGpuParticles()
|
pure virtual |
True when the current frame topology can accept a GPU particle compute section.
在 eve::graphics::vulkan::Graphics 内被实现.
◆ createGpuParticleEmitter()
|
pure virtual |
Allocate backend-owned resident state for one particle emitter.
在 eve::graphics::vulkan::Graphics 内被实现.
◆ drawGpuParticleEmitter()
|
pure virtual |
Queue an indirect draw at the current 2D overlay position. @compatibility Preserves the established GPU-particle boolean submission contract.
在 eve::graphics::vulkan::Graphics 内被实现.
◆ getGpuParticleStats()
|
pure virtual |
Return the latest fence-complete counters without waiting on the GPU.
在 eve::graphics::vulkan::Graphics 内被实现.
◆ releaseGpuParticleEmitter()
|
pure virtual |
Release a GPU particle emitter. Explicit release may wait for in-flight frames.
在 eve::graphics::vulkan::Graphics 内被实现.
◆ resetGpuParticleEmitter()
|
pure virtual |
Clear resident state before the next submitted frame.
在 eve::graphics::vulkan::Graphics 内被实现.
◆ supportsGpuParticles()
|
pure virtual |
True when this backend supports resident compute + indirect particle draws.
在 eve::graphics::vulkan::Graphics 内被实现.
◆ updateGpuParticleEmitter()
|
pure virtual |
Upload one simulation step and optional spawn commands. @compatibility Preserves the established GPU-particle boolean submission contract.
在 eve::graphics::vulkan::Graphics 内被实现.
该类的文档由以下文件生成:
- src/modules/graphics/GpuParticles.h