KhronosTextureContainer

Hierarchy

  • KhronosTextureContainer

Index

Constructors

constructor

  • new KhronosTextureContainer(arrayBuffer: any, facesExpected: number, threeDExpected?: boolean, textureArrayExpected?: boolean): KhronosTextureContainer
  • Parameters

    • arrayBuffer: any
    • facesExpected: number
    • Optional threeDExpected: boolean
    • Optional textureArrayExpected: boolean

    Returns KhronosTextureContainer

Properties

arrayBuffer

arrayBuffer: any

bytesOfKeyValueData

bytesOfKeyValueData: number

glBaseInternalFormat

glBaseInternalFormat: number

glFormat

glFormat: number

glInternalFormat

glInternalFormat: number

glType

glType: number

glTypeSize

glTypeSize: number

loadType

loadType: number

numberOfArrayElements

numberOfArrayElements: number

numberOfFaces

numberOfFaces: number

numberOfMipmapLevels

numberOfMipmapLevels: number

pixelDepth

pixelDepth: number

pixelHeight

pixelHeight: number

pixelWidth

pixelWidth: number

Static COMPRESSED_2D

COMPRESSED_2D: number

Static COMPRESSED_3D

COMPRESSED_3D: number

Static HEADER_LEN

HEADER_LEN: number

Static TEX_2D

TEX_2D: number

Static TEX_3D

TEX_3D: number

Methods

switchEndainness

  • switchEndainness(val: number): number
  • Parameters

    • val: number

    Returns number

uploadLevels

  • uploadLevels(gl: WebGLRenderingContext, loadMipmaps: boolean): void
  • It is assumed that the texture has already been created & is currently bound

    Parameters

    • gl: WebGLRenderingContext
    • loadMipmaps: boolean

    Returns void

Generated using TypeDoc