Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Sampling
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Sampling/MeshMapBakerQueue.h |
| Include | #include "Sampling/MeshMapBakerQueue.h" |
Syntax
class FMeshMapBakerQueue
Remarks
Multi-producer/single-consumer queue for the ordered processing of data in FMeshMapBaker.
This queue is designed to mediate the aggregation of data into a shared output buffer. The number of data to be aggregated must be provided at initialization. Producer threads then "post" data to the queue and any single thread can temporarily assume the role of consumer to "process" the data.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshMapBakerQueue
(
SIZE_T Size |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Acquire ownership over processing queue data. | ||
| bool | IsDone () |
||
| void | Post
(
SIZE_T Idx, |
Post Data pointer into the queue at a given index. | |
| void * | Process () |
Retrieve the next item in the queue to process. | |
| void | Release ownership of queue processing. |
Constants
| Name | Description |
|---|---|
| Alignment | Align to cache line size and pad our slot data to avoid false sharing. |