Trait moon_engine::gl::Bind
source · [−]Expand description
The Bind
trait enables setting up WebGl state when bound, and optionally resetting to a neutral one when unbound.
These functons should be implented without mutating the implementing struct, i.e. just changing the state of the WebGl2RenderingContext
.