Options
All
  • Public
  • Public/Protected
  • All
Menu

TinoeWebGLContext 负责提供渲染上下文的webGL实现

export

Hierarchy

Index

Constructors

Properties

_extensions: any
_init: any

初始化插件

memberof

TinoeWebGLContext

_instancedInstance: any
_lastViewport: any
_polyfill: any

webGL2 polyfill

memberof

TinoeWebGLContext

_vaoInstance: any

Accessors

Methods

  • clear(): void
  • 清理

    memberof

    TinoeWebGLContext

    Returns void

  • destroy(): void
  • 销毁

    memberof

    TinoeWebGLContext

    Returns void

  • enableExtension(extension: string): any
  • 开启插件

    memberof

    TinoeWebGLContext

    Parameters

    • extension: string

    Returns any

  • viewport(x: number, y: number, width: number, height: number): void
  • 更改viewport 未传viewport时从lastVP恢复

    memberof

    TinoeWebGLContext

    Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

Generated using TypeDoc