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

Texture/RT wrapper. 更多...

#include <EmptyResources.h>

Public 成员函数

 FEmptySurface (ERHIResourceType ResourceType, EPixelFormat Format, uint32 SizeX, uint32 SizeY, uint32 SizeZ, bool bArray, uint32 ArraySize, uint32 NumMips, ETextureCreateFlags Flags, FResourceBulkDataInterface *BulkData)
 Constructor that will create Texture and Color/DepthBuffers as needed
 
uint32 GetMemorySize ()
 Returns how much memory is used by the surface
 
void * Lock (uint32 MipIndex, uint32 ArrayIndex, EResourceLockMode LockMode, uint32 &DestStride)
 Locks one of the texture's mip-maps. 更多...
 
void Unlock (uint32 MipIndex, uint32 ArrayIndex)
 Unlocks a previously locked mip-map. 更多...
 
 ~FEmptySurface ()
 Destructor
 

详细描述

Texture/RT wrapper.

成员函数说明

◆ Lock()

void * FEmptySurface::Lock ( uint32  MipIndex,
uint32  ArrayIndex,
EResourceLockMode  LockMode,
uint32 &  DestStride 
)

Locks one of the texture's mip-maps.

参数
ArrayIndexIndex of the texture array/face in the form Index*6+Face
返回
A pointer to the specified texture data.

◆ Unlock()

void FEmptySurface::Unlock ( uint32  MipIndex,
uint32  ArrayIndex 
)

Unlocks a previously locked mip-map.

参数
ArrayIndexIndex of the texture array/face in the form Index*6+Face

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