Navigation
API > API/Developer > API/Developer/TextureCompressor > API/Developer/TextureCompressor/FCompressedImage2D
References
| Module | TextureCompressor |
| Header | /Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h |
| Include | #include "TextureCompressorModule.h" |
int32 GetRHIStyleSizeZ
(
bool bTextureArray,
bool bVolume
) const
Remarks
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