| IBufferResource::GetConsumerBuffer()
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/MultiBufferResource.h |
Include |
#include "Chaos/Framework/MultiBufferResource.h" |
virtual const ResourceType * GetConsumerBuffer() const
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.