Flgl class

Constructors

Flgl(int width, int height, num dpr)

Properties

dbo int
getter/setter pair
defaultFramebuffer int
getter/setter pair
defaultFramebufferTexture int
getter/setter pair
dpr num
The device Pixel Ratio
getter/setter pair
egls List<int>
egls list? I don't know for now. find what is that.
getter/setter pair
gl OpenGLContextES
The openGLES context.
no setter
hashCode int
The hash code for this object.
no setterinherited
height int
The texture height.
getter/setter pair
isDisposed bool
The disposed state.
getter/setter pair
isInitialized bool
Returns true if the textureId is not set.
no setter
openGLES OpenGLES
The openGLES.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceTexture int
The source texture.
getter/setter pair
textureId int?
The texture id.
getter/setter pair
width int
The texture width.
getter/setter pair

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.

Operators

operator ==(Object other) bool
The equality operator.
inherited