载入中...
搜索中...
未找到
eve::particles::ParticleRenderSystem类 参考

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()

void eve::particles::ParticleRenderSystem::render ( graphics::Graphics *  gfx)
static

◆ renderEmitter()

int eve::particles::ParticleRenderSystem::renderEmitter ( graphics::Graphics *  gfx,
ParticleEmitter *  emitter 
)
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().


该类的文档由以下文件生成: