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