createEffect method
Effect
createEffect(
- dynamic baseName,
- dynamic attributesNamesOrOptions,
- dynamic uniformsNamesOrEngine, [
- List<String> samplers,
- String defines,
- IEffectFallbacks fallbacks,
- void onCompiled(
- Effect effect
),
- void onError(
- Effect effect,
- String errors
),
- 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]);