Skip to main content
Version: 4.1.0

TileWebGLService

Hierarchy

  • TileWebGLService
    • PreviewWebGLService

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

  • get Instance(): TileWebGLService
  • Returns TileWebGLService

Methods

publicsetCanvasSize

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

    • width: number
    • height: number

    Returns void