Class WebGLInfo

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
true
memory: {
    geometries: number;
    textures: number;
}
{ geometries: 0, textures: 0 }
programs: null | WebGLProgram[]
null
render: {
    calls: number;
    frame: number;
    lines: number;
    points: number;
    triangles: number;
}
{ frame: 0, calls: 0, triangles: 0, points: 0, lines: 0 }

Methods

  • Parameters

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

    Returns void

  • Returns void