Module moon_engine::gl
source · [−]Expand description
A collection of functions and traits related to WebGl2RenderingContext
, as well as the GL
alias.
Traits
Functions
Check for, and print any WebGL errors if found.
Get the WebGl2RenderingContext
of a canvas with an element ID of “canvas”
Type Definitions
An alias for WebGl2RenderingContext
.