Skip to main content
Version: Next

TileWebGLService

Hierarchy

Index

Properties

cmapTexture

cmapTexture: WebGLTexture

readonlygl

gl: WebGL2RenderingContext

shaderProgram

shaderProgram: WebGLProgram

shaderUniforms

shaderUniforms: ShaderUniforms

vertexPositionAttribute

vertexPositionAttribute: number

vertexPositionBuffer

vertexPositionBuffer: WebGLBuffer

vertexUVAttribute

vertexUVAttribute: number

vertexUVBuffer

vertexUVBuffer: WebGLBuffer

Accessors

staticInstance

Methods

publicsetCanvasSize

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

    • width: number
    • height: number

    Returns void

setCustomGradientUniforms

  • setCustomGradientUniforms(hex: string, startHex?: string): void
  • Parameters

    • hex: string
    • optionalstartHex: string

    Returns void