Allows for direct GPU mem allocation for texture resource.
更多...
#include <ResourceArray.h>
Allows for direct GPU mem allocation for texture resource.
◆ GetMipData()
| virtual void * FTexture2DResourceMem::GetMipData |
( |
int32 |
MipIdx | ) |
|
|
pure virtual |
- 参数
-
| MipIdx | index 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.
该类的文档由以下文件生成: