|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.render.MinimalRenderer
gestalt.render.BasicRenderer
gestalt.p5.GestaltPlugIn
public class GestaltPlugIn
| Nested Class Summary | |
|---|---|
static interface |
GestaltPlugIn.GLFragments
|
| Field Summary | |
|---|---|
boolean |
copybackgroundcolor
|
static boolean |
SKIP_FIRST_FRAME
|
| Fields inherited from class gestalt.render.MinimalRenderer |
|---|
WORKAROUND_FORCE_QUIT |
| Constructor Summary | |
|---|---|
GestaltPlugIn(processing.core.PApplet theParent)
|
|
GestaltPlugIn(processing.core.PApplet theParent,
boolean theMakeP5Friendly)
|
|
| Method Summary | |
|---|---|
void |
applyCamera(Camera theCamera)
applies the state of a gestalt camera to the processing model-view-matrix. |
static void |
applyCamera(processing.core.PGraphics g,
Camera theCamera)
applies the state of a gestalt camera to the processing model-view-matrix. |
void |
cameramover(boolean theState)
this method activates a camera mover. |
void |
create(DisplayCapabilities theDisplayCapabilities)
creates all context. |
static IntegerBitmap |
createGestaltBitmap(processing.core.PImage thePImage)
create a gestalt 'Bitmap' from a processing 'PImage'. note that this method only copies the reference to the pixel data of the PImage. |
void |
decoration(boolean theDecoration)
|
static void |
decoration(processing.core.PApplet theParent,
boolean theDecoration)
|
void |
disable()
|
void |
dispose()
|
void |
draw()
|
void |
enable()
|
FPSCounter |
fpscounter(boolean theState)
|
void |
fullscreen(boolean theSwitchResolution)
|
static void |
fullscreen(processing.core.PApplet theParent,
boolean theSwitchResolution)
|
GL |
getGL()
use with care! using the instance might not work at all times, as opengl needs to be in the right mood to receive calls. |
GLU |
getGLU()
use with care! using the instance might not work at all times, as opengl needs to be in the right mood to receive calls. |
boolean |
hasDrawError()
|
void |
noFullscreen()
|
void |
post()
|
java.util.Vector<GestaltPlugIn.GLFragments> |
postDrawables()
|
void |
pre()
|
java.util.Vector<GestaltPlugIn.GLFragments> |
preDrawables()
|
void |
size(int width,
int height)
|
void |
unplug()
|
| Methods inherited from class gestalt.render.BasicRenderer |
|---|
camera, dispose, fog, framefinish, framesetup, keyPressed, keyReleased, light, mousePressed, mouseReleased, origin, quit, replaceCamera, set3DFinishRef, setBinRef, setCameraRef, setFogRef, setFramefinishRef, setFramesetupRef, setLightRef, setOriginRef, setupDefaultRenderbins, toString |
| Methods inherited from class gestalt.render.MinimalRenderer |
|---|
bin, bin, createDisplayCapabilities, display, displaycapabilities, drawablefactory, event, setDisplayRef, setDrawablefactoryRef, setEventRef, updateDisplayCapabilities |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static boolean SKIP_FIRST_FRAME
public boolean copybackgroundcolor
| Constructor Detail |
|---|
public GestaltPlugIn(processing.core.PApplet theParent)
public GestaltPlugIn(processing.core.PApplet theParent,
boolean theMakeP5Friendly)
| Method Detail |
|---|
public void unplug()
public void enable()
public void disable()
public boolean hasDrawError()
public void create(DisplayCapabilities theDisplayCapabilities)
BasicRenderer
create in class BasicRenderertheDisplayCapabilities - DisplayCapabilitiespublic void pre()
public void draw()
public void post()
public void dispose()
public void size(int width,
int height)
public GL getGL()
public GLU getGLU()
public void applyCamera(Camera theCamera)
theCamera - Camera
public static void applyCamera(processing.core.PGraphics g,
Camera theCamera)
g - PGraphicstheCamera - Camerapublic void cameramover(boolean theState)
theState - booleanpublic FPSCounter fpscounter(boolean theState)
public static IntegerBitmap createGestaltBitmap(processing.core.PImage thePImage)
thePImage - PImage
public static void decoration(processing.core.PApplet theParent,
boolean theDecoration)
public void decoration(boolean theDecoration)
public void fullscreen(boolean theSwitchResolution)
public static void fullscreen(processing.core.PApplet theParent,
boolean theSwitchResolution)
public void noFullscreen()
public java.util.Vector<GestaltPlugIn.GLFragments> preDrawables()
public java.util.Vector<GestaltPlugIn.GLFragments> postDrawables()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||