Interface TextureCompressedParams

Compressed texture data.

interface TextureCompressedParams {
    mipmaps: {
        data: Uint8Array;
        height: number;
        width: number;
    }[];
    props: {
        encoding: number;
        flipY: boolean;
        format: number;
        internalFormat: number;
        magFilter: number;
        minFilter: number;
        premultiplyAlpha: boolean;
        type: number;
        unpackAlignment: number;
        wrapR: number;
        wrapS: number;
        wrapT: number;
    };
}

Properties

Properties

mipmaps: {
    data: Uint8Array;
    height: number;
    width: number;
}[]

Type declaration

  • data: Uint8Array
  • height: number
  • width: number
props: {
    encoding: number;
    flipY: boolean;
    format: number;
    internalFormat: number;
    magFilter: number;
    minFilter: number;
    premultiplyAlpha: boolean;
    type: number;
    unpackAlignment: number;
    wrapR: number;
    wrapS: number;
    wrapT: number;
}

Type declaration

  • encoding: number
  • flipY: boolean
  • format: number
  • internalFormat: number
  • magFilter: number
  • minFilter: number
  • premultiplyAlpha: boolean
  • type: number
  • unpackAlignment: number
  • wrapR: number
  • wrapS: number
  • wrapT: number