Options
All
  • Public
  • Public/Protected
  • All
Menu

TinoeWebGLCanvas 负责提供画布能力的webGL实现

export

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

dpr: number
instance: HTMLCanvasElement

Accessors

  • get height(): number
  • Returns number

  • get width(): number
  • Returns number

Methods

  • 创建canvas

    memberof

    TinoeWebGLCanvas

    Parameters

    Returns HTMLCanvasElement

  • destroy(): void
  • 销毁

    memberof

    TinoeWebGLCanvas

    Returns void

  • resize(width?: number, height?: number, pixelRatio?: number): void
  • 调整画布宽高

    memberof

    TinoeWebGLCanvas

    Parameters

    • Optional width: number
    • Optional height: number
    • Optional pixelRatio: number

    Returns void

Generated using TypeDoc