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]) =>
glUseProgram(effect is _OGLEffect ? effect._programHandle : 0);