Interface DDSInfo
interface DDSInfo {
dxgiFormat: number;
height: number;
isCompressed: boolean;
isCube: boolean;
isFourCC: boolean;
isLuminance: boolean;
isRGB: boolean;
mipmapCount: number;
sphericalPolynomial?: SphericalPolynomial;
textureType: number;
width: number;
}
dxgiFormat: number;
height: number;
isCompressed: boolean;
isCube: boolean;
isFourCC: boolean;
isLuminance: boolean;
isRGB: boolean;
mipmapCount: number;
sphericalPolynomial?: SphericalPolynomial;
textureType: number;
width: number;
}
Index
Properties
dxgi Format
dxgiFormat: number
The dxgiFormat of the texture
height
height: number
Width of the texture
is Compressed
isCompressed: boolean
If the texture is a compressed format eg. FOURCC_DXT1
is Cube
isCube: boolean
If this is a cube texture
is Four CC
isFourCC: boolean
If the textures format is a known fourCC format
is Luminance
isLuminance: boolean
If the texture is a lumincance format
is RGB
isRGB: boolean
If the texture is an RGB format eg. DXGI_FORMAT_B8G8R8X8_UNORM format
mipmap Count
mipmapCount: number
Number of Mipmaps for the texture
Optionalspherical Polynomial
Sphericle polynomial created for the dds texture
texture Type
textureType: number
Texture type eg. Engine.TEXTURETYPE_UNSIGNED_BYTE, Engine.TEXTURETYPE_FLOAT
width
width: number
Width of the texture
Direct draw surface info
See
https://docs.microsoft.com/en-us/windows/desktop/direct3ddds/dx-graphics-dds-pguide