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

Texture readback implementation. 更多...

#include <RHIGPUReadback.h>

+ 类 FRHIGPUTextureReadback 继承关系图:

Public 成员函数

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.
 

详细描述

Texture readback implementation.

成员函数说明

◆ Lock()

void * FRHIGPUTextureReadback::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.


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