public class GLTextRenderer extends TextureTextRenderer
DEFAULT_ANTIALIASING, DEFAULT_FONT, DEFAULT_SIZE
Constructor and Description |
---|
GLTextRenderer(GLTexture tex,
GLPipelineRenderer renderer,
int preferredWidth,
int preferredHeight,
int maxDimension) |
GLTextRenderer(GLTexture tex,
GLPipelineRenderer renderer,
int preferredWidth,
int preferredHeight,
int maxDimension,
boolean antialiasing) |
Modifier and Type | Method and Description |
---|---|
void |
begin(com.jogamp.opengl.GL gl)
Prepares for drawing
|
void |
bind(com.jogamp.opengl.GL gl)
Bind's internal texture
|
void |
dispose(com.jogamp.opengl.GL gl) |
void |
end(com.jogamp.opengl.GL gl)
Commits any changes to the graphics pipeline
|
static GLTextRenderer |
generate(com.jogamp.opengl.GL gl,
GLPipelineRenderer renderer) |
static GLTextRenderer |
generate(com.jogamp.opengl.GL gl,
GLPipelineRenderer renderer,
int preferredWidth,
int preferredHeight) |
GLTexture |
getTexture() |
void |
unbind(com.jogamp.opengl.GL gl) |
begin, drawText, end, flush, getFont, getHeight, getImageStore, getTextBounds, getWidth, isAntialiasing, setAntialiasing, setFont, setPreferredSize
public GLTextRenderer(GLTexture tex, GLPipelineRenderer renderer, int preferredWidth, int preferredHeight, int maxDimension)
public GLTextRenderer(GLTexture tex, GLPipelineRenderer renderer, int preferredWidth, int preferredHeight, int maxDimension, boolean antialiasing)
public void bind(com.jogamp.opengl.GL gl)
public void unbind(com.jogamp.opengl.GL gl)
public void begin(com.jogamp.opengl.GL gl)
public GLTexture getTexture()
public void end(com.jogamp.opengl.GL gl)
public void dispose(com.jogamp.opengl.GL gl)
public static GLTextRenderer generate(com.jogamp.opengl.GL gl, GLPipelineRenderer renderer, int preferredWidth, int preferredHeight)
public static GLTextRenderer generate(com.jogamp.opengl.GL gl, GLPipelineRenderer renderer)