FTextureBuildSettings::GetTextureExpectsAlphaInPixelFormat

If there is a choice to be had between two formats: one with alpha and one without, this returns which one the texture expects.

Unreal Engine C++ API Reference > Developer > TextureCompressor > FTextureBuildSettings

References

   
Module TextureCompressor
Header /Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h
Include #include "TextureCompressorModule.h"
bool GetTextureExpectsAlphaInPixelFormat
(
    bool bInSourceMipsAlphaDetected
) const

Remarks

If there is a choice to be had between two formats: one with alpha and one without, this returns which one the texture expects.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library