Skip to main content
Version: Next

CatalogWebGLService

Index

Properties

readonlygl

gl: WebGL2RenderingContext

shaderUniforms

shaderUniforms: ShaderUniforms

Accessors

staticInstance

Methods

publicclearTexture

  • clearTexture(fileId: number): void
  • Parameters

    • fileId: number

    Returns void

publicgetDataTexture

publicsetCanvasSize

  • setCanvasSize(width: number, height: number): void
  • Parameters

    • width: number
    • height: number

    Returns void

publicupdateDataTexture

  • updateDataTexture(fileId: number, dataPoints: Uint8Array | Float32Array, textureType: CatalogTextureType): void
  • Parameters

    Returns void

publicupdatePositionArray

  • updatePositionArray(fileId: number, dataPoints: Float32Array, offset: number): void
  • Parameters

    • fileId: number
    • dataPoints: Float32Array
    • offset: number

    Returns void

publicupdatePositionTexture

  • updatePositionTexture(fileId: number): boolean
  • Parameters

    • fileId: number

    Returns boolean