GtfDdsSharp GtfDdsSharp
GtfDdsSharp GtfDdsSharp
DocFX + Singulink = ♥

Search Results for

    Enum TextureFormat

    Specifies the format of a GTF texture.

    Namespace: GtfDdsSharp
    Assembly: GtfDdsSharp.dll
    Syntax
    [Flags]
    public enum TextureFormat : byte

    Fields

    Name Description
    A1R5G5B5

    16-bit ARGB1555 texture format.

    A4R4G4B4

    16-bit ARGB4444 texture format.

    A8R8G8B8

    32-bit ARGB8888 texture format.

    B8

    8-bit BGR texture format.

    CompressedB8R8G8R8

    Compressed B8R8_G8R8 texture format.

    CompressedB8R8G8R8Raw

    Raw compressed B8R8_G8R8 texture format.

    CompressedDxt1

    Compressed DXT1 texture format.

    CompressedDxt23

    Compressed DXT2/3 texture format.

    CompressedDxt45

    Compressed DXT4/5 texture format.

    CompressedHilo8

    Compressed HILO8 texture format.

    CompressedHiloS8

    Compressed HILO_S8 texture format.

    CompressedR8B8R8G8

    Compressed R8B8_R8G8 texture format.

    CompressedR8B8R8G8Raw

    Raw compressed R8B8_R8G8 texture format.

    D1R5G5B5

    16-bit D1R5G5B5 texture format.

    D8R8G8B8

    32-bit D8R8G8B8 texture format.

    Depth16

    16-bit depth texture format.

    Depth16Float

    16-bit depth float texture format.

    Depth24D8

    24-bit depth with 8-bit stencil texture format.

    Depth24D8Float

    24-bit depth with 8-bit stencil float texture format.

    G8B8

    16-bit G8B8 texture format.

    Linear

    Linear texture format.

    R5G5B5A1

    16-bit R5G5B5A1 texture format.

    R5G6B5

    16-bit RGB565 texture format.

    R6G5B5

    16-bit R6G5B5 texture format.

    Swizzle

    Swizzled texture format.

    Unnormalize

    Unnormalized texture format.

    W16Z16Y16X16Float

    64-bit W16_Z16_Y16_X16 float texture format.

    W32Z32Y32X32Float

    128-bit W32_Z32_Y32_X32 float texture format.

    X16

    16-bit X texture format.

    X32Float

    32-bit X float texture format.

    Y16X16

    32-bit Y16_X16 texture format.

    Y16X16Float

    32-bit Y16_X16 float texture format.

    Extension Methods

    GtfUtils.GetDepth(TextureFormat)
    GtfUtils.GetInvertFlag(TextureFormat)
    GtfUtils.GetPitch(TextureFormat, uint)
    GtfUtils.GetRawFormat(TextureFormat)
    GtfUtils.IsDxtn(TextureFormat)
    GtfUtils.IsRawCompressed(TextureFormat)
    GtfUtils.IsSwizzle(TextureFormat)