Class CubemapMip

A mip of a cubemap.

Hierarchy

  • Mip
    • CubemapMip

Constructors

Properties

unpackAlignment?: 2 | 1 | 4 | 8

The unpack alignment of this mip.

Accessors

  • get dims(): readonly (undefined | number)[]
  • The dimensions of this mip.

    Returns readonly (undefined | number)[]

  • set dims(value): void
  • The dimensions of this mip.

    Parameters

    • value: readonly (undefined | number)[]

    Returns void

  • get lod(): undefined | number
  • The level of detail of this mip.

    Returns undefined | number

Methods

  • Updates this mip.

    Parameters

    • texture: Texture<Mip>

      The texture of this mip.

    • target: MipmapTarget

      The target of this mip.

    • lod: number

      The level of detail of this mip.

    Returns boolean

    Whether an update was performed.

Generated using TypeDoc