|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.Graphics org.newdawn.slick.opengl.pbuffer.PBufferGraphics
public class PBufferGraphics
A graphics implementation that renders to a PBuffer
Field Summary |
---|
Fields inherited from class org.newdawn.slick.Graphics |
---|
currentGraphics, DEFAULT_FONT, GL, MODE_ADD, MODE_ALPHA_BLEND, MODE_ALPHA_MAP, MODE_COLOR_MULTIPLY, MODE_NORMAL, MODE_SCREEN, screenHeight, screenWidth |
Constructor Summary | |
---|---|
PBufferGraphics(Image image)
Create a new graphics context around a pbuffer |
Method Summary | |
---|---|
void |
destroy()
Dispose this graphics context, this will release any underlying resourses. |
protected void |
disable()
Disable rendering to this graphics context |
protected void |
enable()
Enable rendering to this graphics context |
protected void |
enterOrtho()
Enter the orthographic mode |
void |
flush()
Flush this graphics context to the underlying rendering context |
protected void |
initGL()
Initialise the GL context |
Methods inherited from class org.newdawn.slick.Graphics |
---|
clear, clearAlphaMap, clearClip, clearWorldClip, copyArea, draw, draw, drawAnimation, drawAnimation, drawArc, drawArc, drawGradientLine, drawGradientLine, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawOval, drawRect, drawRoundRect, drawRoundRect, drawString, fill, fill, fillArc, fillArc, fillOval, fillOval, fillRect, fillRect, fillRoundRect, fillRoundRect, getArea, getBackground, getClip, getColor, getFont, getLineWidth, getPixel, getWorldClip, isAntiAlias, popTransform, pushTransform, resetFont, resetLineWidth, resetTransform, rotate, scale, setAntiAlias, setBackground, setClip, setClip, setColor, setCurrent, setDrawMode, setFont, setLineWidth, setWorldClip, setWorldClip, texture, texture, texture, texture, texture, texture, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PBufferGraphics(Image image) throws SlickException
image
- The image we're rendering to
SlickException
- Indicates a failure to use pbuffersMethod Detail |
---|
protected void disable()
Graphics
disable
in class Graphics
Graphics.disable()
protected void enable()
Graphics
enable
in class Graphics
Graphics.enable()
protected void initGL()
protected void enterOrtho()
public void destroy()
Graphics
destroy
in class Graphics
Graphics.destroy()
public void flush()
Graphics
flush
in class Graphics
Graphics.flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |