Navigation
API > API/Plugins > API/Plugins/MutableRuntime
| Name | FImageDataStorage |
| Type | class |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/ImageDataStorage.h |
| Include Path | #include "MuR/ImageDataStorage.h" |
Syntax
class FImageDataStorage
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageDataStorage
(
FImageDataStorage&& Other |
MuR/ImageDataStorage.h | ||
FImageDataStorage
(
const FImageDataStorage& Other |
MuR/ImageDataStorage.h | ||
FImageDataStorage
(
const FImageDesc& Desc |
MuR/ImageDataStorage.h | ||
| MuR/ImageDataStorage.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NumLODsInCompactedTail | int32 | MuR/ImageDataStorage.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffers | TArray< FImageArray, TInlineAllocator< 1 > > | MuR/ImageDataStorage.h | ||
| CompactedTailOffsets | TStaticArray< uint16, NumLODsInCompactedTail > | This is needed for images its size cannot be known from dimensions and format, e.g., RLE compressed formats. | MuR/ImageDataStorage.h | |
| ImageFormat | EImageFormat | MuR/ImageDataStorage.h | ||
| ImageSize | FImageSize | MuR/ImageDataStorage.h | ||
| NumLODs | uint8 | MuR/ImageDataStorage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 ComputeFirstCompactedTailLOD() |
MuR/ImageDataStorage.h | ||
void CopyFrom
(
const FImageDataStorage& Other |
MuR/ImageDataStorage.h | ||
void DropLODs
(
int32 NumLODsToDrop |
Remove NumLODsToDrop starting form LOD 0. The resulting image will be smaller. | MuR/ImageDataStorage.h | |
int32 GetAllocatedSize() |
MuR/ImageDataStorage.h | ||
TArrayView< uint8 > GetBatch
(
int32 BatchId, |
MuR/ImageDataStorage.h | ||
TArrayView< const uint8 > GetBatch
(
int32 BatchId, |
MuR/ImageDataStorage.h | ||
TArrayView< const uint8 > GetBatchFirstLODOffset
(
int32 BatchId, |
Returns a non modifiable view to the portion of the first LOD buffer with OffsetInBytes for the BatchId | MuR/ImageDataStorage.h | |
TArrayView< uint8 > GetBatchFirstLODOffset
(
int32 BatchId, |
Non const version of GetBatchFirstLODOffset(). | MuR/ImageDataStorage.h | |
TArrayView< uint8 > GetBatchLODRange
(
int32 BatchId, |
Non const version of GetBatchLODRange(). | MuR/ImageDataStorage.h | |
TArrayView< const uint8 > GetBatchLODRange
(
int32 BatchId, |
Returns a non modifiable view to the portion of the [LODBegin, LODEnd) for the BatchId. | MuR/ImageDataStorage.h | |
int32 GetDataSize() |
MuR/ImageDataStorage.h | ||
FImageArray & GetInternalArray
(
int32 LODIndex |
MuR/ImageDataStorage.h | ||
const FImageArray & GetInternalArray
(
int32 LODIndex |
MuR/ImageDataStorage.h | ||
TArrayView< uint8 > GetLOD
(
int32 LODIndex |
Get a view to the data containing the LODIndex. | MuR/ImageDataStorage.h | |
TArrayView< const uint8 > GetLOD
(
int32 LODIndex |
Get a const view to the data containing the LODIndex. | MuR/ImageDataStorage.h | |
int32 GetNumBatches
(
int32 BatchSizeInElems, |
Stateless iteration in batches. | MuR/ImageDataStorage.h | |
int32 GetNumBatchesFirstLODOffset
(
int32 BatchSizeInElems, |
Returns the number of batches GetBatchFirtsLODOffet will admit and that will cover the first LOD buffer with OffsetInBytes removed from the front. | MuR/ImageDataStorage.h | |
int32 GetNumBatchesLODRange
(
int32 BatchSizeInElems, |
Returns the number of batches GetBatchLODRange will admit and that will cover the [LODBegin, LODEnd) range. | MuR/ImageDataStorage.h | |
int32 GetNumLODs() |
MuR/ImageDataStorage.h | ||
void Init
(
const FImageDesc& ImageDesc, |
MuR/ImageDataStorage.h | ||
void InitInternalArray
(
int32 Index, |
MuR/ImageDataStorage.h | ||
void InitVoid
(
const FImageDesc& Desc |
MuR/ImageDataStorage.h | ||
bool IsEmpty () |
Returns true if all buffers are empty. | MuR/ImageDataStorage.h | |
bool IsVoid() |
MuR/ImageDataStorage.h | ||
FImageDesc MakeImageDesc() |
MuR/ImageDataStorage.h | ||
void ResizeLOD
(
int32 LODIndex, |
Resizes LODIndex Data to NewSizeBytes | MuR/ImageDataStorage.h | |
void Serialise
(
FOutputArchive& Arch |
MuR/ImageDataStorage.h | ||
void SetNumLODs
(
int32 InNumLODs, |
Change the number of lods in the image. | MuR/ImageDataStorage.h | |
void Unserialise
(
FInputArchive& Arch |
MuR/ImageDataStorage.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageDataStorage & operator=
(
FImageDataStorage&& Other |
MuR/ImageDataStorage.h | ||
FImageDataStorage & operator=
(
const FImageDataStorage& Other |
MuR/ImageDataStorage.h | ||
bool operator==
(
const FImageDataStorage& Other |
MuR/ImageDataStorage.h |