FTextureSource::IsPowerOfTwo

Return true if the source data is power-of-2.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Texture.h

Include

#include "Engine/Texture.h"

Source

/Engine/Source/Runtime/Engine/Private/Texture.cpp

Syntax

bool IsPowerOfTwo
(
    int32 BlockIndex
) const

Remarks

Return true if the source data is power-of-2.

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