Navigation
API > API/Developer > API/Developer/TextureCompressor > API/Developer/TextureCompressor/FCompressedImage2D
Description
This is the SizeZ that gets passed to the RHI texture mip map stuff. See FStreamableTextureResource::SizeZ. It's weird because it's actually NOT used for cubemaps or cubemap arrays, however it does get saved in derived data in Texture2DMipMap, so we need to continue to pass through the previous values for cubemaps which are: non array cubemap = 1 array cubemaps = array_count * 6 volume = depth arrays = array_count
| Name | GetRHIStyleSizeZ |
| Type | function |
| Header File | /Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h |
| Include Path | #include "TextureCompressorModule.h" |
int32 GetRHIStyleSizeZ
(
bool bTextureArray,
bool bVolume
) const