API

Interface DDSInfo

Direct draw surface info

interface DDSInfo {
    dxgiFormat: number;
    height: number;
    isCompressed: boolean;
    isCube: boolean;
    isFourCC: boolean;
    isLuminance: boolean;
    isRGB: boolean;
    mipmapCount: number;
    sphericalPolynomial?: SphericalPolynomial;
    textureType: number;
    width: number;
}
Index
dxgiFormat: number

The dxgiFormat of the texture

height: number

Width of the texture

isCompressed: boolean

If the texture is a compressed format eg. FOURCC_DXT1

isCube: boolean

If this is a cube texture

isFourCC: boolean

If the textures format is a known fourCC format

isLuminance: boolean

If the texture is a lumincance format

isRGB: boolean

If the texture is an RGB format eg. DXGI_FORMAT_B8G8R8X8_UNORM format

mipmapCount: number

Number of Mipmaps for the texture

sphericalPolynomial?: SphericalPolynomial

Sphericle polynomial created for the dds texture

textureType: number

Texture type eg. Engine.TEXTURETYPE_UNSIGNED_BYTE, Engine.TEXTURETYPE_FLOAT

width: number

Width of the texture