ITextureFormat::GetEncodedPixelFormat

Returns what the compressed pixel format will be for a given format and the given settings.

Unreal Engine C++ API Reference > Developer > TextureFormat > Interfaces > ITextureFormat

  • ITextureFormat::GetEncodedPixelFormat()

References

   
Module TextureFormat
Header /Engine/Source/Developer/TextureFormat/Public/Interfaces/ITextureFormat.h
Include #include "Interfaces/ITextureFormat.h"
virtual EPixelFormat GetEncodedPixelFormat
(
    const [FTextureBuildSettings](API\Developer\TextureCompressor\FTextureBuildSettings) & InBuildSettings,
    bool bInImageHasAlphaChannel
) const

Remarks

Returns what the compressed pixel format will be for a given format and the given settings.

bInImageHasAlphaChannel is whether or not to treat the source image format as having an alpha channel, independent of whether or not it actually has one.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library