engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FRHIGPUBufferReadback类 参考final

Buffer readback implementation. 更多...

#include <RHIGPUReadback.h>

+ 类 FRHIGPUBufferReadback 继承关系图:

Public 成员函数

void EnqueueCopy (FRHICommandList &RHICmdList, FRHIVertexBuffer *SourceBuffer, uint32 NumBytes=0) override
 Copy the current state of the resource to the readback data. 更多...
 
void * Lock (uint32 NumBytes) override
 Returns the CPU accessible pointer that backs this staging buffer. 更多...
 
void Unlock () override
 Signals that the host is finished reading from the backing buffer.
 
- Public 成员函数 继承自 FRHIGPUMemoryReadback
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.
 

详细描述

Buffer readback implementation.

成员函数说明

◆ EnqueueCopy()

void FRHIGPUBufferReadback::EnqueueCopy ( FRHICommandList &  RHICmdList,
FRHIVertexBuffer *  SourceBuffer,
uint32  NumBytes = 0 
)
overridevirtual

Copy the current state of the resource to the readback data.

参数
RHICmdListThe command list to enqueue the copy request on.
SourceBufferThe buffer holding the source data.
NumBytesThe number of bytes to copy. If 0, this will copy the entire buffer.

重载 FRHIGPUMemoryReadback .

◆ Lock()

void * FRHIGPUBufferReadback::Lock ( uint32  NumBytes)
overridevirtual

Returns the CPU accessible pointer that backs this staging buffer.

参数
NumBytesThe maximum number of bytes the host will read from this pointer.
返回
A CPU accessible pointer to the backing buffer.

实现了 FRHIGPUMemoryReadback.


该类的文档由以下文件生成: