openworld_gl 0.0.24 openworld_gl: ^0.0.24 copied to clipboard
cross-platform call OpenGL API by Dart through dart:ffi. 3D programming in the cross-platform. Provides OpenGL with Texture Widget on Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add openworld_gl
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
openworld_gl: ^0.0.24
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:openworld_gl/flutter_gl.dart';
import 'package:openworld_gl/native-array/NativeArray.app.dart';
import 'package:openworld_gl/native-array/NativeArray.dart';
import 'package:openworld_gl/native-array/NativeArray.web.dart';
import 'package:openworld_gl/native-array/base-native-array.dart';
import 'package:openworld_gl/native-array/index.dart';
import 'package:openworld_gl/openGL/OpenGL-Base.dart';
import 'package:openworld_gl/openGL/OpenGL-ES.dart';
import 'package:openworld_gl/openGL/OpenGL-Web.dart';
import 'package:openworld_gl/openGL/OpenGL.dart';
import 'package:openworld_gl/openGL/opengl-desktop/opengl.dart';
import 'package:openworld_gl/openGL/opengl-desktop/src/opengl_header.dart';
import 'package:openworld_gl/openGL/opengl-desktop/src/opengl_init.dart';
import 'package:openworld_gl/openGL/opengl-desktop/src/opengl_library.dart';
import 'package:openworld_gl/openGL/opengl/OpenGL-Platform.dart';
import 'package:openworld_gl/openGL/opengl/OpenGL20Constant.dart';
import 'package:openworld_gl/openGL/opengl/OpenGL30Constant.dart';
import 'package:openworld_gl/openGL/opengl/OpenGLContextDesktop.dart';
import 'package:openworld_gl/openGL/opengl/OpenGLContextES.dart';
import 'package:openworld_gl/openGL/opengl/OpenGLContextWeb.dart';
import 'package:openworld_gl/openGL/opengl/OpenGLEXTConstant.dart';
import 'package:openworld_gl/openGL/opengl/opengl_es_bindings/opengl_es_bindings.dart';
import 'package:openworld_gl/openGL/opengl/opengl_es_bindings/src/egl_bindings.dart';
import 'package:openworld_gl/openGL/opengl/opengl_es_bindings/src/gldesktop_bindings.dart';
import 'package:openworld_gl/openGL/opengl/opengl_es_bindings/src/gles_bindings.dart';