umbra 0.1.0-dev.4 copy "umbra: ^0.1.0-dev.4" to clipboard
umbra: ^0.1.0-dev.4 copied to clipboard

The core functionality for Umbra shaders which that helps Flutter developers to generate the necessary files for Flutter Shaders.

Umbra

Pub umbra coverage style: very good analysis License: MIT Powered by Mason


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
10
likes
150
points
52
downloads

Publisher

verified publisherwolfenra.in

Weekly Downloads

2024.09.29 - 2025.04.13

The core functionality for Umbra shaders which that helps Flutter developers to generate the necessary files for Flutter Shaders.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

equatable, mason

More

Packages that depend on umbra