v0.1.0-dev.8
umbra_cli
Umbra CLI 允许 Flutter 开发者创建自己的着色器,并将其编译为强类型 Dart 文件。
35喜欢 29近 30 天下载120Pub 分数
AndroidiOSWebmacOSWindowsLinux
Umbra,Flutter 中的着色器可视化编辑器。
以下为英文项目原文快照,最新内容请访问 GitHub。
The visual editor for shaders in Flutter.
umbra /ˈʌmbrə/
noun:
- the fully shaded inner region of a shadow cast by an opaque object, especially the area on the earth or moon experiencing the total phase of an eclipse.
LITERARY
shadow or darkness.
"an impenetrable umbra seemed to fill every inch of the museum"
| Package | Pub |
|---|---|
| umbra | |
| umbra_cli | |
| umbra_flutter |
For a getting started with Umbra check out the getting started section in the docs.
# 🎯 Activate from https://pub.dev
dart pub global activate umbra_cli
# 🚀 Install umbra dependencies
umbra install-deps
# 🕶️ Create your first shader
umbra create hello_world
# 📦 Compile your first shader to a Dart file
umbra generate shaders/hello_world.glsl --output lib/shaders/
For the documentation that describes how you should writing shaders that are compatible with Umbra tooling, see the Shader Specifications documentation.
Documentation about the CLI can be found here.
If you are looking for more general information about shaders in Flutter, here is a list of articles:
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗