flutter_angle 0.3.3 copy "flutter_angle: ^0.3.3" to clipboard
flutter_angle: ^0.3.3 copied to clipboard

Flutters Almost Native Graphics Layer Engine is made by google to use OpenGL ES API calls to one of the hardware-supported APIs available for that platform.

flutter_angle #

Pub Version analysis License: MIT

A graphics library for dart (based on angle) that allows users to view more complex rendering projects like 3D objects and more complex shaders.

Features #

Gif of angle working.

This is a dart conversion of flutter_web_gl originally created by @escamoteur and @kentcb.

Requirements #

MacOS

  • Minimum os Deployment Target: 10.14
  • Xcode 13 or newer
  • Swift 5
  • Metal supported

iOS

  • Minimum os Deployment Target: 12.0
  • Xcode 13 or newer
  • Swift 5
  • Metal supported

iOS-Simulator

  • Minimum os Deployment Target: 12.0
  • Xcode 13 or newer
  • Swift 5
  • Metal supported

Android ANGLE

  • compileSdkVersion: 34
  • minSdk: 28
  • OpenGL supported
  • Vulkan supported
  • Will automatically revert to OpenGL if below sdk 28

Android OpenGL

  • compileSdkVersion: 34
  • minSdk: 21
  • OpenGL supported
  • Not recommended for devices above sdk 27

Android Emulator

  • Supported OpenGL only
  • Will automatically revert to OpenGL

Windows

  • Intel supported
  • AMD supported
  • Qualcom supported
  • Direct3D 11
  • OpenGL supported
  • Set AngleOptions useSurfaceProducer to false for legacy build

Web

  • WebGL2 supported

WASM

  • WebGL2 supported; please add <script src="https://cdn.jsdelivr.net/gh/Knightro63/flutter_angle/assets/gles_bindings.js"></script> to your index.html to load the js_interop file

Linux

  • Ubuntu supported (Tested on Linux Mint)
  • OpenGL supported
  • Please install sudo apt install libglew-dev

Getting started #

To get started add flutter_angle to your pubspec.yaml file.

Usage #

This project is a simple rendering engine for flutter to view 3D models and complex shaders.

iOS issue #

If you have used ios or ios-simulator and get an error pod not found FlutterAngle ~> 0.0.8. Delete Podfile.lock, change directory to ios folder and run pod install --repo-update.

Example #

Find the example for this API here.

Contributing #

Contributions are welcome. In case of any problems look at existing issues, if you cannot find anything related to your problem then open an issue. Create an issue before opening a pull request for non trivial fixes. In case of trivial fixes open a pull request directly.

15
likes
0
points
3.33k
downloads

Publisher

unverified uploader

Weekly Downloads

Flutters Almost Native Graphics Layer Engine is made by google to use OpenGL ES API calls to one of the hardware-supported APIs available for that platform.

Homepage
Repository (GitHub)
View/report issues

Topics

#opengl #angle #glsl

License

unknown (license)

Dependencies

dylib, ffi, flutter, logger, web

More

Packages that depend on flutter_angle

Packages that implement flutter_angle