ITextureFormat::GetPixelFormatForImage

Calculate the final/runtime pixel format for this image on this platform

Windows
MacOS
Linux

Override Hierarchy

ITextureFormat::GetPixelFormatForImage()

FChildTextureFormat::GetPixelFormatForImage()

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITextureFormat.h

Include

#include "Interfaces/ITextureFormat.h"

Syntax

EPixelFormat GetPixelFormatForImage
(
    const struct FTextureBuildSettings & BuildSettings,
    const struct FImage & Image,
    bool bImageHasAlphaChannel
) const

Remarks

Calculate the final/runtime pixel format for this image on this platform

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss