Utility class to retrieve or compute interesting data about textures.
Definition: TextureUtils.h:12
static FORMAT getFormatDepthEquivalent(FORMAT format)
static unsigned int getFormatByteSize(FORMAT format)
static FORMAT getFormatFromImageFormat(nkImages::PIXEL_FORMAT format)
static FORMAT getFormatSrgbEquivalent(FORMAT format)
static bool isFormatCompatibleWithStencil(FORMAT format)
static unsigned int getFormatChannelCount(FORMAT format)
static bool isFormatCompatibleForRenderFlag(FORMAT format, TEX_RENDER_FLAG renderFlag, BUFFER_BIND_FLAG bindFlag)
static bool isFormatOver255(FORMAT format)
static FORMAT getFormatUncompressedEquivalent(FORMAT format)
static bool isFormatCompressed(FORMAT format)
static FORMAT getFormatRgbEquivalent(FORMAT format)
static FORMAT getFormatTypelessEquivalent(FORMAT format)
static int getNeededMipsForSize(int width, int height, int depthOrArraySize, bool texArray)
static FORMAT getFormatWithAlphaEquivalent(FORMAT format)
static unsigned int getFormatPlaneCount(FORMAT format)