Navigation
API > API/Runtime > API/Runtime/Engine
A 2D texture mip-map.
| Name | FTexture2DMipMap |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/TextureResource.h |
| Include Path | #include "TextureResource.h" |
Syntax
struct FTexture2DMipMap
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS FTexture2DMipMap () |
TextureResource.h | ||
| TextureResource.h | |||
FTexture2DMipMap
(
const FTexture2DMipMap& |
TextureResource.h | ||
FTexture2DMipMap
(
uint32 InSizeX, |
TextureResource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTexture2DMipMap() |
TextureResource.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPagedToDerivedData | bool | TextureResource.h | ||
| BulkData | FByteBulkData | Stores the data for the mip when it is loaded. | TextureResource.h | |
| DerivedData | UE::FDerivedData | Reference to the data for the mip if it can be streamed. | TextureResource.h | |
| FileRegionType | EFileRegionType | The file region type appropriate for the pixel format of this mip-map. | TextureResource.h | |
| SizeX | uint16 | Width of the mip-map. | TextureResource.h | |
| SizeY | uint16 | Height of the mip-map. | TextureResource.h | |
| SizeZ | uint16 | Depth of the mip-map. | TextureResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsPagedToDerivedData() |
Whether this mip-map is stored in the derived data cache. | TextureResource.h | |
| Serialization. | TextureResource.h | ||
void SetPagedToDerivedData
(
bool InValue |
TextureResource.h | ||
int64 StoreInDerivedDataCache
(
FStringView Key, |
Place mip-map data in the derived data cache associated with the provided key. | TextureResource.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| TextureResource.h | |||
FTexture2DMipMap & operator=
(
const FTexture2DMipMap& |
TextureResource.h |