Maven module :un.engine : engine-opengl :
Class : un.engine.opengl.painter.gl1.GL1Painter2D
Extends/Implements : un.engine.painter2d.AbstractPainter2D
Subclasses : -

author  Johann Sorel


Variables : -
Functions : GL1Painter2D, GL1Painter2D, GL1Painter2D, GL1Painter2D, GL1Painter2D, getFbo, clear, setSize, getImage, fill, stroke, paint, paint, flush, derivate, dispose



public void GL1Painter2D (int width, int height)

public void GL1Painter2D (int width, int height, int multisample, GLAutoDrawable drawable)

public void GL1Painter2D (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  drawable
public void GL1Painter2D (FBO fbo, GLAutoDrawable drawable)

protected void GL1Painter2D (GL1Painter2D parent, Matrix4 transform)

public FBO getFbo ()

public void clear ()

public void setSize (int width, int height)

public Image getImage ()

public void fill (Geometry2D geom)

public void stroke (Geometry2D geom)

public void paint (Image image, Matrix4 transform)

public void paint (Texture texture, Matrix4 transform)

public void flush ()

public Painter2D derivate (Matrix4 transform)

public void dispose ()