v0.1.0-dev.8
umbra_cli
Umbra CLI 允許 Flutter 開發者建立自己的著色器,並編譯成強類型 Dart 檔案。
35喜歡 24近 30 天下載120Pub 分數
AndroidiOSWebmacOSWindowsLinux
Umbra,Flutter 中的著色器視覺化編輯器。
以下為英文專案原文快照,最新內容請造訪 GitHub。
umbra coverage style: very good analysis License: MIT Powered by Mason
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 | pub package |
| umbra_cli | pub package |
| umbra_flutter | pub package |
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: