0 purchases
umbra
Umbra
The core functionality for Umbra shaders which that helps Flutter developers to generate the necessary files for Flutter Shaders.
package:umbra contains all the core functionality that powers both package:umbra_cli and the Umbra application.
import 'dart:io';
import 'package:umbra/umbra.dart';
Future<void> main() async {
final specification = ShaderSpecification.fromFile(File('./hello_world.glsl'));
final generator = RawGenerator(specification);
File('./hello_world_raw.glsl').writeAsBytesSync(await generator.generate());
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.