bindEffect method
Binds an effect. Pass in nothing or null to reset the effect to either nothing or the platform default.
Implementation
@override
void bindEffect([Effect? effect]) =>
_context.useProgram(effect is _WGLEffect ? effect._programHandle : null);