Expand description

A collection of functions and traits related to WebGl2RenderingContext, as well as the GL alias.

Traits

The Bind trait enables setting up WebGl state when bound, and optionally resetting to a neutral one when unbound.

Functions

Check for, and print any WebGL errors if found.

Get the WebGl2RenderingContext of a canvas with an element ID of “canvas”

Type Definitions