载入中...
搜索中...
未找到
eve::fluids::Fluids类 参考

Fluids module — factory + script binding. 更多...

#include <Fluids.h>

类 eve::fluids::Fluids 继承关系图:
eve::Module

Public 成员函数

 Module_REG (Fluids)
 
 Fluids ()
 Fluids.
 
 ~Fluids () override
 Fluids.
 
 Fluids (const Fluids &)=delete
 
Fluids & operator= (const Fluids &)=delete
 
 Fluids (Fluids &&)=default
 Fluids.
 
Fluids & operator= (Fluids &&)=default
 Operator =.
 
FluidSimulator * newSimulator (int maxParticles=8192)
 Create a surface fluid simulator.
 
FluidSurfaceRenderer * newSurfaceRenderer (int width=160, int height=160)
 Create a screen-space fluid renderer.
 
int getSimulatorCount () const
 Returns the simulator count.
 
int getRendererCount () const
 Returns the renderer count.
 
- Public 成员函数 继承自 eve::Module
virtual ~Module ()
 Module.
 
virtual std::string getName () const =0
 Returns the name.
 

详细描述

Fluids module — factory + script binding.

在文件 Fluids.h 第 203 行定义.

构造及析构函数说明

◆ Fluids() [1/3]

eve::fluids::Fluids::Fluids ( )
default

◆ ~Fluids()

eve::fluids::Fluids::~Fluids ( )
overridedefault

◆ Fluids() [2/3]

eve::fluids::Fluids::Fluids ( const Fluids &  )
delete

◆ Fluids() [3/3]

eve::fluids::Fluids::Fluids ( Fluids &&  )
default

成员函数说明

◆ getRendererCount()

int eve::fluids::Fluids::getRendererCount ( ) const

Returns the renderer count.

返回
number of live renderers owned by the module.

在文件 Fluids.cpp 第 423 行定义.

◆ getSimulatorCount()

int eve::fluids::Fluids::getSimulatorCount ( ) const

Returns the simulator count.

返回
number of live simulators owned by the module.

在文件 Fluids.cpp 第 411 行定义.

◆ Module_REG()

eve::fluids::Fluids::Module_REG ( Fluids  )

◆ newSimulator()

FluidSimulator * eve::fluids::Fluids::newSimulator ( int  maxParticles = 8192)

Create a surface fluid simulator.

参数
maxParticlesparticle buffer capacity.
返回
simulator owned by the module.

在文件 Fluids.cpp 第 404 行定义.

◆ newSurfaceRenderer()

FluidSurfaceRenderer * eve::fluids::Fluids::newSurfaceRenderer ( int  width = 160,
int  height = 160 
)

Create a screen-space fluid renderer.

参数
widthtarget width in pixels.
heighttarget height in pixels.
返回
renderer owned by the module.

Creates the shared screen-space fluid renderer.

Dimensions are clamped to [8,1024] to bound CPU scratch storage, Vulkan buffers and synchronous readback cost. Owned by this module.

在文件 Fluids.cpp 第 413 行定义.

引用了 height, params, r, width , 以及 eve::fluids::FluidSurfaceParams::width.

◆ operator=() [1/2]

Fluids & eve::fluids::Fluids::operator= ( const Fluids &  )
delete

◆ operator=() [2/2]

Fluids & eve::fluids::Fluids::operator= ( Fluids &&  )
default

Operator =.


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