Flgl class
Methods
-
dispose()
→ dynamic
-
Use this on dispose.
https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglDestroySurface.xhtml
-
disposeDBO(OpenGLContextES _gl, int dbo)
→ dynamic
-
Dispose the Depth Buffer Object (DBO)
-
disposeFBO(OpenGLContextES _gl, int fbo, int fboTexture)
→ dynamic
-
Dispose the Frame Buffer Object (FBO)
-
getEgl(int textureId)
→ Future<List<int>>
-
Retures the EGL.
-
initialize({Map<String, dynamic>? options})
→ Future<Map<String, dynamic>>
-
Initialize the flgl pluggin.
returns the texture id
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareContext()
→ dynamic
-
Prepares the context.
-
setupDBO(OpenGLContextES _gl, double width, double height, double dpr)
→ int
-
Setups the Depth Buffer Object (DBO)
returns the DBO id.
-
setupFBO(OpenGLContextES _gl, num width, num height, num dpr)
→ int
-
https://stackoverflow.com/questions/24122859/glenablegl-depth-test-not-working
https://www.khronos.org/opengl/wiki/Framebuffer_Object_Extension_Examples
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateSize(Map<String, dynamic> options)
→ dynamic
-
Use this on resize.
-
updateTexture()
→ Future<bool>
-
Updates the texture.
Call this method to update the texture.
Super importand.