Navigation
API > API/Developer > API/Developer/TextureCompressor
References
| Module | TextureCompressor |
| Header | /Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h |
| Include | #include "TextureCompressorModule.h" |
Syntax
struct FCompressedImage2D
Remarks
Compressed image data.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | NumSlicesWithDepth | See FEncodedTextureDescription::GetNumSlices_WithDepth. | |
| EPixelFormat | PixelFormat | ||
| TArray64< uint8 > | RawData | ||
| int32 | SizeX | In the past Sizes here were aligned up to a compressed block size multiple that is no longer done, the real size is stored | |
| int32 | SizeY | ||
| int32 | SizeZ |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | GetRHIStyleSizeZ
(
bool bTextureArray, |
This is the SizeZ that gets passed to the RHI texture mip map stuff. |