Maven module :un.engine : engine-opengl :
Class : un.engine.opengl.painter.gl3.GL3Painter2D
Extends/Implements : un.engine.painter2d.AbstractPainter2D un.engine.painter2d.ImagePainter2D
Subclasses : -

OpenGL 2D painter implementation.
author  Johann Sorel


Variables : -
Functions : GL3Painter2D, GL3Painter2D, GL3Painter2D, GL3Painter2D, GL3Painter2D, GL3Painter2D, getMV, getFbo, getWorker, clear, clear, setSize, getSize, getImage, blitTexture, getDepthStencilImage, setClip, fill, stroke, paint, paint, character, flush, derivate, dispose, render



public void GL3Painter2D (int width, int height)

public void GL3Painter2D (int width, int height, int multisample, GLProcessContext drawable)

public void GL3Painter2D (int width, int height, int multisample, GLProcessContext drawable, boolean immediateMode)

public void GL3Painter2D (FBO fbo)


GLPainter 2D, providing a drawable.
If drawable is not nul, then ensure the flush method is called in the main
event loop.
param  fbo
param  multisample multisampling value used in the fbo, this information
is used when the painter needs to be resized
param  drawable
param  immediateMode
public void GL3Painter2D (FBO fbo, int multisample, GLProcessContext drawable, boolean immediateMode)

protected void GL3Painter2D (GL3Painter2D parent, Matrix4 transform)

protected Matrix3 getMV ()

public FBO getFbo ()

public GL3PaintWorker getWorker ()

public void clear ()

public void clear (BBox bbox)

public void setSize (Extent.Long size)

public Extent.Long getSize ()

public Image getImage ()

public Texture2D blitTexture (Texture2D blitTexture)

public Image getDepthStencilImage ()

public void setClip (Geometry2D geom)

public void fill (Geometry2D geom)

public void stroke (Geometry2D geom)

public void paint (Image image, Matrix4 transform)

public void paint (Texture texture, Matrix4 transform)

protected void character (int c, Matrix3 trs, boolean fill)

public void flush ()

public Painter2D derivate (Matrix4 transform)

public void dispose ()

public void render (SceneNode node)