载入中...
搜索中...
未找到
eve::physics::LayeredClothGPU::Impl结构体 参考

Public 成员函数

 Impl (gpgpu::Gpgpu &c, graphics::Graphics &g)
 
void bind ()
 
void dispatch (int mode, int work, bool swap=false)
 
void packSubmit ()
 
 ~Impl ()
 

Public 属性

gpgpu::Gpgpu & compute
 
graphics::Graphics & graphics
 
std::array< std::unique_ptr< gpgpu::GpuBuffer >, 8 > buffers
 
std::unique_ptr< gpgpu::ComputeShader > kernel
 
std::unique_ptr< gpgpu::Sequence > sequence
 
graphics::Mesh * mesh = nullptr
 
std::vector< float > initial
 
std::vector< float > adjacency
 
std::array< float, 32 > params {}
 
int count = 0
 
int triangles = 0
 
int buckets = 1
 
int capacity = 0
 
int substeps = 2
 
int iterations = 8
 
bool contacts = true
 
bool self = false
 
bool failed = false
 

详细描述

在文件 LayeredClothGPU.cpp 第 21 行定义.

构造及析构函数说明

◆ Impl()

eve::physics::LayeredClothGPU::Impl::Impl ( gpgpu::Gpgpu &  c,
graphics::Graphics &  g 
)
inline

在文件 LayeredClothGPU.cpp 第 32 行定义.

◆ ~Impl()

eve::physics::LayeredClothGPU::Impl::~Impl ( )
inline

成员函数说明

◆ bind()

void eve::physics::LayeredClothGPU::Impl::bind ( )
inline

在文件 LayeredClothGPU.cpp 第 33 行定义.

引用了 buffers, kernel , 以及 params.

被这些函数引用 packSubmit().

◆ dispatch()

void eve::physics::LayeredClothGPU::Impl::dispatch ( int  mode,
int  work,
bool  swap = false 
)
inline

在文件 LayeredClothGPU.cpp 第 37 行定义.

引用了 buffers, kernel , 以及 sequence.

被这些函数引用 packSubmit().

◆ packSubmit()

void eve::physics::LayeredClothGPU::Impl::packSubmit ( )
inline

在文件 LayeredClothGPU.cpp 第 47 行定义.

引用了 bind(), count, dispatch() , 以及 sequence.

被这些函数引用 ~Impl().

类成员变量说明

◆ adjacency

std::vector<float> eve::physics::LayeredClothGPU::Impl::adjacency

在文件 LayeredClothGPU.cpp 第 28 行定义.

◆ buckets

int eve::physics::LayeredClothGPU::Impl::buckets = 1

在文件 LayeredClothGPU.cpp 第 30 行定义.

◆ buffers

std::array<std::unique_ptr<gpgpu::GpuBuffer>, 8> eve::physics::LayeredClothGPU::Impl::buffers

在文件 LayeredClothGPU.cpp 第 24 行定义.

被这些函数引用 bind(), dispatch() , 以及 ~Impl().

◆ capacity

int eve::physics::LayeredClothGPU::Impl::capacity = 0

在文件 LayeredClothGPU.cpp 第 30 行定义.

◆ compute

gpgpu::Gpgpu& eve::physics::LayeredClothGPU::Impl::compute

在文件 LayeredClothGPU.cpp 第 22 行定义.

◆ contacts

bool eve::physics::LayeredClothGPU::Impl::contacts = true

在文件 LayeredClothGPU.cpp 第 31 行定义.

◆ count

int eve::physics::LayeredClothGPU::Impl::count = 0

在文件 LayeredClothGPU.cpp 第 30 行定义.

被这些函数引用 packSubmit().

◆ failed

bool eve::physics::LayeredClothGPU::Impl::failed = false

在文件 LayeredClothGPU.cpp 第 31 行定义.

◆ graphics

graphics::Graphics& eve::physics::LayeredClothGPU::Impl::graphics

在文件 LayeredClothGPU.cpp 第 23 行定义.

被这些函数引用 ~Impl().

◆ initial

std::vector<float> eve::physics::LayeredClothGPU::Impl::initial

在文件 LayeredClothGPU.cpp 第 28 行定义.

◆ iterations

int eve::physics::LayeredClothGPU::Impl::iterations = 8

在文件 LayeredClothGPU.cpp 第 30 行定义.

◆ kernel

std::unique_ptr<gpgpu::ComputeShader> eve::physics::LayeredClothGPU::Impl::kernel

在文件 LayeredClothGPU.cpp 第 25 行定义.

被这些函数引用 bind(), dispatch() , 以及 ~Impl().

◆ mesh

graphics::Mesh* eve::physics::LayeredClothGPU::Impl::mesh = nullptr

在文件 LayeredClothGPU.cpp 第 27 行定义.

被这些函数引用 ~Impl().

◆ params

std::array<float, 32> eve::physics::LayeredClothGPU::Impl::params {}

在文件 LayeredClothGPU.cpp 第 29 行定义.

被这些函数引用 bind().

◆ self

bool eve::physics::LayeredClothGPU::Impl::self = false

在文件 LayeredClothGPU.cpp 第 31 行定义.

◆ sequence

std::unique_ptr<gpgpu::Sequence> eve::physics::LayeredClothGPU::Impl::sequence

在文件 LayeredClothGPU.cpp 第 26 行定义.

被这些函数引用 dispatch(), packSubmit() , 以及 ~Impl().

◆ substeps

int eve::physics::LayeredClothGPU::Impl::substeps = 2

在文件 LayeredClothGPU.cpp 第 30 行定义.

◆ triangles

int eve::physics::LayeredClothGPU::Impl::triangles = 0

在文件 LayeredClothGPU.cpp 第 30 行定义.


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