Type-erased profile bundle owned by an EffectBackend. 更多...
#include <EffectProfile.h>
Public 成员函数 | |
| const EffectProfileBase & | base () const |
| Returns the shared base slice for the active kind. | |
| EffectProfileBase & | base () |
| Mutable shared base slice for the active kind. | |
静态 Public 成员函数 | |
| static EffectProfile | makeFish (int maxAgents=256) |
| Factory for a default fish profile. | |
| static EffectProfile | makeLife (int maxAgents=128, int resolution=64) |
| Factory for a default life-network profile. | |
| static EffectProfile | makeBird (int maxAgents=256) |
| Factory for a default bird profile. | |
| static EffectProfile | makePetal (int maxAgents=512) |
| Factory for a default petal profile. | |
Public 属性 | |
| EffectKind | kind = EffectKind::Fish |
| FishProfile | fish {} |
| LifeNetworkProfile | life {} |
| BirdProfile | bird {} |
| PetalProfile | petal {} |
详细描述
Type-erased profile bundle owned by an EffectBackend.
在文件 EffectProfile.h 第 130 行定义.
成员函数说明
◆ base() [1/2]
|
inline |
◆ base() [2/2]
|
inline |
Returns the shared base slice for the active kind.
在文件 EffectProfile.h 第 138 行定义.
引用了 kind.
被这些函数引用 eve::gpuagents::GpuAgentSimulation::configure(), eve::gpuagents::GpuAgents::spawnCloud(), eve::gpuagents::GpuAgentSimulation::step() , 以及 eve::gpuagents_editing::toEffectProfile().
◆ makeBird()
|
inlinestatic |
Factory for a default bird profile.
在文件 EffectProfile.h 第 179 行定义.
被这些函数引用 eve::gpuagents::GpuAgents::makeProfile() , 以及 eve::gpuagents_editing::toEffectProfile().
◆ makeFish()
|
inlinestatic |
Factory for a default fish profile.
在文件 EffectProfile.h 第 160 行定义.
被这些函数引用 eve::gpuagents::GpuAgents::makeProfile() , 以及 eve::gpuagents_editing::toEffectProfile().
◆ makeLife()
|
inlinestatic |
Factory for a default life-network profile.
在文件 EffectProfile.h 第 169 行定义.
被这些函数引用 eve::gpuagents::GpuAgents::makeProfile() , 以及 eve::gpuagents_editing::toEffectProfile().
◆ makePetal()
|
inlinestatic |
Factory for a default petal profile.
在文件 EffectProfile.h 第 188 行定义.
被这些函数引用 eve::gpuagents::GpuAgents::makeProfile() , 以及 eve::gpuagents_editing::toEffectProfile().
类成员变量说明
◆ bird
| BirdProfile eve::gpuagents::EffectProfile::bird {} |
在文件 EffectProfile.h 第 134 行定义.
被这些函数引用 eve::gpuagents::BirdSolver::step() , 以及 eve::gpuagents_editing::toEffectProfile().
◆ fish
| FishProfile eve::gpuagents::EffectProfile::fish {} |
在文件 EffectProfile.h 第 132 行定义.
被这些函数引用 eve::gpuagents::FishSolver::step() , 以及 eve::gpuagents_editing::toEffectProfile().
◆ kind
| EffectKind eve::gpuagents::EffectProfile::kind = EffectKind::Fish |
◆ life
| LifeNetworkProfile eve::gpuagents::EffectProfile::life {} |
在文件 EffectProfile.h 第 133 行定义.
被这些函数引用 eve::gpuagents::LifeNetworkSolver::step() , 以及 eve::gpuagents_editing::toEffectProfile().
◆ petal
| PetalProfile eve::gpuagents::EffectProfile::petal {} |
在文件 EffectProfile.h 第 135 行定义.
被这些函数引用 eve::gpuagents::PetalSolver::step().
该结构体的文档由以下文件生成:
- src/modules/gpuagents/EffectProfile.h