KhronosTextureContainer class

Constructors

KhronosTextureContainer.new(ByteBuffer arrayBuffer, int facesExpected)
  • @param {ArrayBuffer} arrayBuffer- contents of the KTX container file
    • @param {number} facesExpected- should be either 1 or 6, based whether a cube texture or or
      • @param {boolean} threeDExpected- provision for indicating that data should be a 3D texture, not implemented
      • @param {boolean} textureArrayExpected- provision for indicating that data should be a texture array, not implemented
  • Properties

    arrayBuffer ByteBuffer
    getter/setter pair
    bytesOfKeyValueData int
    getter/setter pair
    glBaseInternalFormat int
    getter/setter pair
    glFormat int
    getter/setter pair
    glInternalFormat int
    getter/setter pair
    glType int
    getter/setter pair
    glTypeSize int
    getter/setter pair
    hashCode int
    The hash code for this object.
    no setterinherited
    HEADER_LEN int
    final
    loadType int
    getter/setter pair
    numberOfArrayElements int
    getter/setter pair
    numberOfFaces int
    getter/setter pair
    numberOfMipmapLevels int
    getter/setter pair
    pixelDepth int
    getter/setter pair
    pixelHeight int
    getter/setter pair
    pixelWidth int
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited

    Methods

    getUint32(Uint8List dv, int offset, bool littleEndian) int
    mipmaps(bool loadMipmaps) List
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toString() String
    A string representation of this object.
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited