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

Allows for direct GPU mem allocation for texture resource. 更多...

#include <ResourceArray.h>

+ 类 FTexture2DResourceMem 继承关系图:

Public 成员函数

virtual void CancelAsyncAllocation ()=0
 Cancels any async allocation.
 
virtual void FinishAsyncAllocation ()=0
 Blocks the calling thread until the allocation has been completed.
 
virtual void * GetMipData (int32 MipIdx)=0
 
virtual int32 GetNumMips ()=0
 
virtual int32 GetSizeX ()=0
 
virtual int32 GetSizeY ()=0
 
virtual bool HasAsyncAllocationCompleted () const =0
 
virtual bool IsValid ()=0
 
- Public 成员函数 继承自 FResourceBulkDataInterface
virtual void Discard ()=0
 Free memory after it has been used to initialize RHI resource
 
virtual const void * GetResourceBulkData () const =0
 
virtual uint32 GetResourceBulkDataSize () const =0
 
virtual EBulkDataType GetResourceType () const
 

详细描述

Allows for direct GPU mem allocation for texture resource.

成员函数说明

◆ GetMipData()

virtual void * FTexture2DResourceMem::GetMipData ( int32  MipIdx)
pure virtual
参数
MipIdxindex for mip to retrieve
返回
ptr to the offset in bulk memory for the given mip

◆ GetNumMips()

virtual int32 FTexture2DResourceMem::GetNumMips ( )
pure virtual
返回
total number of mips stored in this resource

◆ GetSizeX()

virtual int32 FTexture2DResourceMem::GetSizeX ( )
pure virtual
返回
width of texture stored in this resource

◆ GetSizeY()

virtual int32 FTexture2DResourceMem::GetSizeY ( )
pure virtual
返回
height of texture stored in this resource

◆ HasAsyncAllocationCompleted()

virtual bool FTexture2DResourceMem::HasAsyncAllocationCompleted ( ) const
pure virtual
返回
Whether the resource memory has an async allocation request and it's been completed.

◆ IsValid()

virtual bool FTexture2DResourceMem::IsValid ( )
pure virtual
返回
Whether the resource memory is properly allocated or not.

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