FChildTextureFormat::GetDerivedDataKeyString

Gets an optional derived data key string, so that the compressor can rely upon the number of mips, size of texture, etc, when compressing the image

Unreal Engine C++ API Reference > Developer > TextureFormat > FChildTextureFormat

References

   
Module TextureFormat
Header /Engine/Source/Developer/TextureFormat/Public/ChildTextureFormat.h
Include #include "ChildTextureFormat.h"
virtual [FString](API\Runtime\Core\Containers\FString) GetDerivedDataKeyString
(
    const [FTextureBuildSettings](API\Developer\TextureCompressor\FTextureBuildSettings) & InBuildSettings,
    int32 InMipCount,
    const FIntVector3 & InMip0Dimensions
) const

Remarks

Gets an optional derived data key string, so that the compressor can rely upon the number of mips, size of texture, etc, when compressing the image A string that will be used with the DDC, the string should be in the format "_"

Parameters

Name Description
InBuildSettings Reference to the build settings we are compressing with.
InMipCount Mip count of the physical texture that will be built - 0 for virtual textures.
InMip0Dimensions Mip width/height/slices of the physical texture that will be built - 0s for virtual textures.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library