createEffect method

Effect createEffect(
  1. dynamic baseName,
  2. dynamic attributesNamesOrOptions,
  3. dynamic uniformsNamesOrEngine, [
  4. List<String> samplers,
  5. String defines,
  6. IEffectFallbacks fallbacks,
  7. void onCompiled(
    1. Effect effect
    ),
  8. void onError(
    1. Effect effect,
    2. String errors
    ),
  9. dynamic indexParameters,
])

Implementation

external Effect createEffect(dynamic baseName, dynamic attributesNamesOrOptions, dynamic uniformsNamesOrEngine, [List<String> samplers, String defines, IEffectFallbacks fallbacks, void Function(Effect effect) onCompiled, void Function(Effect effect, String errors) onError, dynamic indexParameters]);