FMipData

Structure that encapsulates the decompressed texture data and can be accessed per mip

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Texture.h

Include

#include "Engine/Texture.h"

Syntax

struct FMipData

Remarks

Structure that encapsulates the decompressed texture data and can be accessed per mip

Constructors

Name Description

Public function

FMipData()

Disallow everything else so we don't get duplicates

Public function

FMipData

(
    FMipData&& Other
)

Allow the copy constructor by rvalue

Public function

FMipData

(
    const FMipData&
)

Destructors

Name Description

Public function

~FMipData()

Functions

Name Description

Public function Const

bool

 

GetMipData

(
    TArray64< uint8 >& OutMipData,
    int32 BlockIndex,
    int32 LayerIndex,
    int32 MipIndex
)

Get a copy of a given texture mip, to be stored in OutMipData

Operators

Name Description

Public function

FMipData &

 

operator=

(
    const FMipData&
)

Public function

FMipData &

 

operator=

(
    FMipData&& Other
)