bindEffect method

  1. @override
void bindEffect([
  1. Effect? effect
])
override

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);