Navigation
API > API/Runtime > API/Runtime/MassEntity
A worker to process queued chunks
| Name | FChunkWorker |
| Type | class |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassProcessingQueueTypes.h |
| Include Path | #include "MassProcessingQueueTypes.h" |
Syntax
class FChunkWorker
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChunkWorker
(
FProcessingQueue& InQueue, |
MassProcessingQueueTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FChunkWorker() |
MassProcessingQueueTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseContextCommandBuffer | bool | MassProcessingQueueTypes.h | ||
| Chunk | FQueuedChunk * | MassProcessingQueueTypes.h | ||
| CommandBuffer | TSharedPtr< FMassCommandBuffer > | Each worker owns a command buffer that is reused for all the chunks it processes The buffer is created in the thread this worker uses, and registered with the queue to be merged/flushed | MassProcessingQueueTypes.h | |
| OwningQueue | FProcessingQueue & | MassProcessingQueueTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AssignChunk
(
FQueuedChunk* InChunk |
MassProcessingQueueTypes.h | ||
void Cleanup() |
MassProcessingQueueTypes.h | ||
void ExecuteChunk
(
bool bInlineExecution |
MassProcessingQueueTypes.h | ||
TSharedPtr< FMassCommandBuffer > & GetOrCreateCommandBuffer() |
MassProcessingQueueTypes.h |