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.
| void * FEmptySurface::Lock | ( | uint32 | MipIndex, |
| uint32 | ArrayIndex, | ||
| EResourceLockMode | LockMode, | ||
| uint32 & | DestStride | ||
| ) |
Locks one of the texture's mip-maps.
| ArrayIndex | Index of the texture array/face in the form Index*6+Face |
| void FEmptySurface::Unlock | ( | uint32 | MipIndex, |
| uint32 | ArrayIndex | ||
| ) |
Unlocks a previously locked mip-map.
| ArrayIndex | Index of the texture array/face in the form Index*6+Face |