sead
Loading...
Searching...
No Matches
agl::TextureFormatInfo Class Reference

#include <aglTextureFormatInfo.h>

Static Public Member Functions

static u8 getPixelByteSize (TextureFormat format)
static u8 getComponentNum (TextureFormat format)
static u8 getComponentBitSize (TextureFormat format, s32 component)
static u8 getComponentOrder (TextureFormat format, s32 component)
static bool isCompressed (TextureFormat format)
static bool isNormalized (TextureFormat format)
static bool isFloat (TextureFormat format)
static bool isUnsigned (TextureFormat format)
static bool isSRGB (TextureFormat format)
static bool isUsableAsRenderTargetColor (TextureFormat format)
static bool isUsableAsRenderTargetDepth (TextureFormat format)
static const char * getString (TextureFormat format)
static TextureCompSel getDefaultCompSel (TextureFormat format, s32 component)
static TextureFormat convFormatGX2ToAGL (GX2SurfaceFormat format)
static GX2SurfaceFormat convFormatAGLToGX2 (TextureFormat format)

Member Function Documentation

◆ getPixelByteSize()

u8 agl::TextureFormatInfo::getPixelByteSize ( TextureFormat format)
static

◆ getComponentNum()

u8 agl::TextureFormatInfo::getComponentNum ( TextureFormat format)
static

◆ getComponentBitSize()

u8 agl::TextureFormatInfo::getComponentBitSize ( TextureFormat format,
s32 component )
static

◆ getComponentOrder()

u8 agl::TextureFormatInfo::getComponentOrder ( TextureFormat format,
s32 component )
static

◆ isCompressed()

bool agl::TextureFormatInfo::isCompressed ( TextureFormat format)
static

◆ isNormalized()

bool agl::TextureFormatInfo::isNormalized ( TextureFormat format)
static

◆ isFloat()

bool agl::TextureFormatInfo::isFloat ( TextureFormat format)
static

◆ isUnsigned()

bool agl::TextureFormatInfo::isUnsigned ( TextureFormat format)
static

◆ isSRGB()

bool agl::TextureFormatInfo::isSRGB ( TextureFormat format)
static

◆ isUsableAsRenderTargetColor()

bool agl::TextureFormatInfo::isUsableAsRenderTargetColor ( TextureFormat format)
static

◆ isUsableAsRenderTargetDepth()

bool agl::TextureFormatInfo::isUsableAsRenderTargetDepth ( TextureFormat format)
static

◆ getString()

const char * agl::TextureFormatInfo::getString ( TextureFormat format)
static

◆ getDefaultCompSel()

TextureCompSel agl::TextureFormatInfo::getDefaultCompSel ( TextureFormat format,
s32 component )
static

◆ convFormatGX2ToAGL()

TextureFormat agl::TextureFormatInfo::convFormatGX2ToAGL ( GX2SurfaceFormat format)
static

◆ convFormatAGLToGX2()

GX2SurfaceFormat agl::TextureFormatInfo::convFormatAGLToGX2 ( TextureFormat format)
static