| IRHIComputeContext::RHICopyToStagingBuffer()
|
Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/RHIContext.h |
Include |
#include "RHIContext.h" |
virtual void RHICopyToStagingBuffer
(
FRHIVertexBuffer * SourceBufferRHI,
FRHIStagingBuffer * DestinationStagingBufferRHI,
uint32 InOffset,
uint32 InNumBytes
)
Performs a copy of the data in 'SourceBuffer' to 'DestinationStagingBuffer.' This will occur inline on the GPU timeline. This is a mechanism to perform nonblocking readback of a buffer at a point in time.
Parameter |
Description |
---|---|
SourceBuffer |
The source vertex buffer that will be inlined copied. |
DestinationStagingBuffer |
The the host-visible destination buffer |
Offset |
The start of the data in 'SourceBuffer' |
NumBytes |
The number of bytes to copy out of 'SourceBuffer' |