An object with a series of statistical information about the graphics board memory and the rendering process.

Constructors

Properties

Methods

Constructors

  • Parameters

    • gl: WebGLRenderingContext

    Returns WebGLInfo

Properties

autoReset: boolean

Default

true
memory: {
    geometries: number;
    textures: number;
}

Type declaration

  • geometries: number
  • textures: number

Default

{ geometries: 0, textures: 0 }
programs: null | WebGLProgram[]

Default

null
render: {
    calls: number;
    frame: number;
    lines: number;
    points: number;
    triangles: number;
}

Type declaration

  • calls: number
  • frame: number
  • lines: number
  • points: number
  • triangles: number

Default

{ frame: 0, calls: 0, triangles: 0, points: 0, lines: 0 }

Methods

  • Returns void

  • Parameters

    • count: number
    • mode: number
    • instanceCount: number

    Returns void