|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Observer of the rendering system that is informed of pre and post rendering timing so that it may perform it's own additional drawing operations.
The idea is to allow various pre and post-processing activities to be performed on individual output surfaces (not just limited to the on-screen drawable, but also with pBuffers etc). An example is a full-screen jitter, blur effect or even fades/wipes between scenes. Currently the interface is very experimental.
Method Summary | |
void |
postDraw(net.java.games.jogl.GLDrawable drawable,
java.lang.Object userData)
Perform any post-rendering actions that you may need for this scene. |
void |
preDraw(net.java.games.jogl.GLDrawable drawable,
java.lang.Object userData)
Perform any pre-rendering setup that you may need for this scene. |
Method Detail |
public void preDraw(net.java.games.jogl.GLDrawable drawable, java.lang.Object userData)
drawable
- The output surface that is being drawn touserData
- Some identifiable data provided by the userpublic void postDraw(net.java.games.jogl.GLDrawable drawable, java.lang.Object userData)
drawable
- The output surface that is being drawn touserData
- Some identifiable data provided by the user
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |