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]) =>
    _context.useProgram(effect is _WGLEffect ? effect._programHandle : null);