Navigation
API > API/Developer > API/Developer/Horde > API/Developer/Horde/FComputeBufferReader
Description
Waits until the given amount of data has been read, and returns a pointer to it. Returns nullptr if the timeout expires, or if the requested amount of data is not in a contiguous block of memory.
| Name | WaitToRead |
| Type | function |
| Header File | /Engine/Source/Developer/Horde/Public/Compute/ComputeBuffer.h |
| Include Path | #include "Compute/ComputeBuffer.h" |
| Source | /Engine/Source/Developer/Horde/Private/Compute/ComputeBuffer.cpp |
const unsigned char * WaitToRead
(
size_t MinSize,
int TimeoutMs,
bool * bOutTimedOut
)