Navigation
API > API/Runtime > API/Runtime/ImageCore
Structure for raw image data used for Image formats that support Mip Maps.
| Name | FMipMapImage |
| Type | struct |
| Header File | /Engine/Source/Runtime/ImageCore/Public/ImageCore.h |
| Include Path | #include "ImageCore.h" |
Syntax
struct FMipMapImage
Structs
| Name | Remarks |
|---|---|
| FMipInfo |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Format | ERawImageFormat::Type | Format in which the images is stored. | ImageCore.h | |
| GammaSpace | EGammaSpace | The gamma space the image is stored in. | ImageCore.h | |
| RawData | TArray64< uint8 > | Raw image data. | ImageCore.h | |
| SubImages | TArray< FMipInfo > | Holds information about the sub images some image formats support. | ImageCore.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMipImage
(
TArray64< uint8 >&& Buffer, |
ImageCore.h | ||
void ChangeFormat
(
ERawImageFormat::Type DestFormat, |
In - place format change does nothing if already in the desired format | ImageCore.h | |
void CopyTo
(
FMipMapImage& DestImage |
ImageCore.h | ||
void CopyTo
(
FMipMapImage& DestImage, |
Copies the image to a destination image with the specified format. | ImageCore.h | |
int32 GetMipCount() |
ImageCore.h | ||
bool GetMipDimensions
(
int32 MipLevel, |
ImageCore.h | ||
FImageView GetMipImage
(
int32 MipLevel |
ImageCore.h | ||
int64 GetNumPixels() |
ImageCore.h | ||
void Init
(
ERawImageFormat::Type InFormat, |
Initializes the Mip Map Image with parameters with uninitialized SubImages. | ImageCore.h | |
void Init
(
int32 MipZeroWidth, |
Initializes the Mip Map Image with reserving space for mip maps. | ImageCore.h | |
bool IsValid() |
ImageCore.h |