FGuardedTripleBuffer::GetConsumerBuffer

Get an updated buffer for the consuming thread to read from.

Windows
MacOS
Linux

Override Hierarchy

IBufferResource::GetConsumerBuffer()

FGuardedTripleBuffer::GetConsumerBuffer()

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/MultiBufferResource.h

Include

#include "Chaos/Framework/MultiBufferResource.h"

Syntax

virtual const ResourceType * GetConsumerBuffer() const

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss