FTextureSource::IsPowerOfTwo

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

Choose your operating system:

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.