API (v3.0.0-dev) - Giro3D
    Preparing search index...

    Class ImageFormatAbstract

    Base class for image decoders. To implement your own image decoder, subclass this class.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • flipY: boolean
      • dataType: TextureDataType

      Returns ImageFormat

    Properties

    dataType: TextureDataType
    flipY: boolean
    isImageFormat: true = ...
    type: string

    Methods

    • Decodes the blob into a texture.

      Parameters

      • blob: Blob

        The blob to decode.

      • options: DecodeOptions

        The decoder options.

      Returns Promise<DecodeResult>

      The decoded texture.