Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FGuardedTripleBuffer
Description
Get an updated buffer for the consuming thread to read from.
The returned pointer may be null if the producer thread hasn't done an update since the last time this function was called.
This function should only be called by the consumer thread.
Virtual Inheritance
- IBufferResource::GetConsumerBuffer → FGuardedTripleBuffer::GetConsumerBuffer
| Name | GetConsumerBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/MultiBufferResource.h |
| Include Path | #include "Chaos/Framework/MultiBufferResource.h" |
virtual const ResourceType * GetConsumerBuffer() const