#include <NvBlastTkTaskImpl.h>
Public Member Functions | |
| TkWorker () | |
| void | initialize () |
| void | process (uint32_t jobID) |
| void | process (TkWorkerJob &job) |
Public Attributes | |
| LocalBuffer< NvBlastBondFractureData > | m_bondBuffer |
| memory manager for bonds event data More... | |
| LocalBuffer< NvBlastChunkFractureData > | m_chunkBuffer |
| memory manager for chunk event data More... | |
| TkGroupImpl * | m_group |
| the group owning this worker More... | |
| uint32_t | m_id |
| this worker's id More... | |
| bool | m_isBusy |
| void * | m_splitScratch |
| NvBlastFractureBuffers | m_tempBuffer |
Thread worker fracturing and splitting actors sequentially. The list of actual jobs is provided by the group owning this worker.
|
inline |
| void Nv::Blast::TkWorker::initialize | ( | ) |
|
virtual |
Process a job of this worker's TkGroup.
/param[in] jobId a job id in the range (0, TkGroup::startProcess()]
Implements Nv::Blast::TkGroupWorker.
| void Nv::Blast::TkWorker::process | ( | TkWorkerJob & | job | ) |
| LocalBuffer<NvBlastBondFractureData> Nv::Blast::TkWorker::m_bondBuffer |
memory manager for bonds event data
| LocalBuffer<NvBlastChunkFractureData> Nv::Blast::TkWorker::m_chunkBuffer |
memory manager for chunk event data
| TkGroupImpl* Nv::Blast::TkWorker::m_group |
the group owning this worker
| uint32_t Nv::Blast::TkWorker::m_id |
this worker's id
| bool Nv::Blast::TkWorker::m_isBusy |
| void* Nv::Blast::TkWorker::m_splitScratch |
| NvBlastFractureBuffers Nv::Blast::TkWorker::m_tempBuffer |