Draws all visible ParticleEmitter entities via Graphics batch path. 更多...
#include <ParticleSystem.h>
静态 Public 成员函数 | |
| static int | renderEmitter (graphics::Graphics *gfx, ParticleEmitter *emitter) |
| Draw exactly one emitter without traversing the global ECS registry. | |
| static void | render (graphics::Graphics *gfx) |
| Renders . | |
详细描述
Draws all visible ParticleEmitter entities via Graphics batch path.
在文件 ParticleSystem.h 第 32 行定义.
成员函数说明
◆ render()
|
static |
Renders .
在文件 ParticleSystem.cpp 第 571 行定义.
引用了 begin, draw, eve::graphics::RenderSystem::drawItems(), emitter, eve::particles::mutableParticleFrameStats(), order, eve::graphics::Graphics::setCanvas(), stats , 以及 view.
被这些函数引用 eve::particles::Particles::render().
◆ renderEmitter()
|
static |
Draw exactly one emitter without traversing the global ECS registry.
- 返回
- Number of particles submitted, or zero when hidden/empty/unsupported.
在文件 ParticleSystem.cpp 第 561 行定义.
引用了 eve::graphics::RenderSystem::drawItems(), emitter, order , 以及 eve::graphics::Graphics::setCanvas().
被这些函数引用 eve::particles_graphics_editing::ParticleEmitterOffscreenPresenter::draw().
该类的文档由以下文件生成:
- src/modules/particles/ParticleSystem.h
- src/modules/particles/ParticleSystem.cpp