パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.1.0-dev.8

umbra_cli

Umbra CLI を使用すると、Flutter開発者は独自のシェーダーを作成し、厳密に型指定されたDartファイルにコンパイルできます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
29
いいね数
35
Pub ポイント
120

パッケージをインストール

flutter pub add umbra_cli

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Umbra CLI は、Flutter 開発者がカスタムシェーダーを作成し、それを強力な型を持つ Dart ファイルに自動的にコンパイルするためのツールです。シェーダーコードを使用可能な Dart クラスに抽象化することで、高度なビジュアル効果の統合を簡素化し、複数のプラットフォームで動的かつパフォーマンスの高いグラフィックスを実現します。背景エフェクト、グラデーション、リアルタイムのビジュアライゼーションを扱う開発者向けに設計されており、ボイラープレートの削減と型安全性の向上により、作業フローの効率を高めます。このツールは Android、iOS、Web、macOS、Windows、Linux をサポートしており、豊富なグラフィカルコンテンツを必要とするクロスプラットフォームプロジェクトに最適です。

用途

  • カスタムグラデーション効果の作成
  • アニメーション背景ビジュアルの実装
  • シェーダーを使用したインタラクティブUI要素の構築
  • パフォーマンス最適化されたグラフィックスの開発
  • クロスプラットフォームアプリに複雑なビジュアルエフェクトを統合する

主な機能

  • シェーダーからタイプ化されたDartクラスを自動生成します
  • 複数のターゲットプラットフォームをサポートしています
  • シェーダー統合のボイラープレートを削減
  • シェーダー使用における型の安全性を強制する
  • シェーダーのライフサイクル管理を簡素化する

適している対象

  • 視覚的に豊かなアプリを構築するFlutter開発者
  • 一貫したシェーダー・ワークフローを必要とするチーム
  • 高性能グラフィックスを必要とするプロジェクト
  • 動的な背景やアニメーションを使用する開発者
  • カスタムシェーダーを使用するクロスプラットフォームアプリ作成者

注意事項

  • GLSLシェーダー構文に精通している必要がある
  • 大規模なシェーダー群を使用するとビルド時間が増加する可能性があります
  • Flutter のレンダリングパイプラインに制限される
  • 非自明なビジュアルエフェクトに最適
  • プロジェクトビルドプロセスでの適切なセットアップが必要です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Umbra

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


The visual editor for shaders in Flutter.

umbra /ˈʌmbrə/

noun:

  1. 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.
  2. LITERARY
    shadow or darkness.
    "an impenetrable umbra seemed to fill every inch of the museum"

Packages

Package Pub
umbra pub package
umbra_cli pub package
umbra_flutter pub package

Quick start

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/

Documentation

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.

Articles

If you are looking for more general information about shaders in Flutter, here is a list of articles:

カテゴリー

依存関係

依存関係一覧 8 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。