FRHIGPUMemoryReadback: Represents a memory readback request scheduled with CopyToStagingBuffer Wraps a staging buffer with a FRHIGPUFence for synchronization. 更多...
#include <RHIGPUReadback.h>
类 FRHIGPUMemoryReadback 继承关系图:Public 成员函数 | |
| virtual void | EnqueueCopy (FRHICommandList &RHICmdList, FRHIVertexBuffer *SourceBuffer, uint32 NumBytes=0) |
| Copy the current state of the resource to the readback data. 更多... | |
| FORCEINLINE bool | IsReady () |
| Indicates if the data is in place and ready to be read. | |
| FORCEINLINE bool | IsReady (FRHIGPUMask GPUMask) |
| Indicates if the data is in place and ready to be read on a subset of GPUs. | |
| virtual void * | Lock (uint32 NumBytes)=0 |
| Returns the CPU accessible pointer that backs this staging buffer. 更多... | |
| virtual void | Unlock ()=0 |
| Signals that the host is finished reading from the backing buffer. | |
FRHIGPUMemoryReadback: Represents a memory readback request scheduled with CopyToStagingBuffer Wraps a staging buffer with a FRHIGPUFence for synchronization.
|
inlinevirtual |
Copy the current state of the resource to the readback data.
| RHICmdList | The command list to enqueue the copy request on. |
| SourceBuffer | The buffer holding the source data. |
| NumBytes | The number of bytes to copy. If 0, this will copy the entire buffer. |
被 FRHIGPUBufferReadback 重载.
|
pure virtual |
Returns the CPU accessible pointer that backs this staging buffer.
| NumBytes | The maximum number of bytes the host will read from this pointer. |
在 FRHIGPUBufferReadback , 以及 FRHIGPUTextureReadback 内被实现.