载入中...
搜索中...
未找到
eve::particles::ParticleEmitter::GpuSim结构体 参考

Backend-owned GPU-resident simulation state and delayed CPU counters. 更多...

#include <ParticleEmitter.h>

Public 属性

bool enabled = false
 
bool failed = false
 
std::uint64_t residentHandle = 0
 Backend-owned resident emitter; zero until the Vulkan path activates.
 
bool residentActive = false
 True after state has moved to the resident GPU backend.
 
int estimatedAlive = 0
 CPU-side exact lifetime count used for budgets; positions remain GPU-only.
 
double timeline = 0.0
 Monotonic simulated time used by the lifetime min-heap.
 
std::vector< float > deathTimes
 Absolute death times; min-heap with std::greater<float>.
 
float pendingWorldOffsetX = 0.f
 World-origin translation queued for the next resident GPU update.
 
float pendingWorldOffsetY = 0.f
 
std::uint32_t nextBirthSerial = 1
 Monotonic birth counter stamped into GPU spawn birthSerial.
 

详细描述

Backend-owned GPU-resident simulation state and delayed CPU counters.

在文件 ParticleEmitter.h 第 381 行定义.

类成员变量说明

◆ deathTimes

std::vector<float> eve::particles::ParticleEmitter::GpuSim::deathTimes

Absolute death times; min-heap with std::greater<float>.

在文件 ParticleEmitter.h 第 393 行定义.

◆ enabled

bool eve::particles::ParticleEmitter::GpuSim::enabled = false

在文件 ParticleEmitter.h 第 382 行定义.

◆ estimatedAlive

int eve::particles::ParticleEmitter::GpuSim::estimatedAlive = 0

CPU-side exact lifetime count used for budgets; positions remain GPU-only.

在文件 ParticleEmitter.h 第 389 行定义.

◆ failed

bool eve::particles::ParticleEmitter::GpuSim::failed = false

在文件 ParticleEmitter.h 第 383 行定义.

◆ nextBirthSerial

std::uint32_t eve::particles::ParticleEmitter::GpuSim::nextBirthSerial = 1

Monotonic birth counter stamped into GPU spawn birthSerial.

在文件 ParticleEmitter.h 第 398 行定义.

◆ pendingWorldOffsetX

float eve::particles::ParticleEmitter::GpuSim::pendingWorldOffsetX = 0.f

World-origin translation queued for the next resident GPU update.

在文件 ParticleEmitter.h 第 395 行定义.

◆ pendingWorldOffsetY

float eve::particles::ParticleEmitter::GpuSim::pendingWorldOffsetY = 0.f

在文件 ParticleEmitter.h 第 396 行定义.

◆ residentActive

bool eve::particles::ParticleEmitter::GpuSim::residentActive = false

True after state has moved to the resident GPU backend.

在文件 ParticleEmitter.h 第 387 行定义.

◆ residentHandle

std::uint64_t eve::particles::ParticleEmitter::GpuSim::residentHandle = 0

Backend-owned resident emitter; zero until the Vulkan path activates.

在文件 ParticleEmitter.h 第 385 行定义.

◆ timeline

double eve::particles::ParticleEmitter::GpuSim::timeline = 0.0

Monotonic simulated time used by the lifetime min-heap.

在文件 ParticleEmitter.h 第 391 行定义.


该结构体的文档由以下文件生成: