|
Aviatrix3D 2.0 Dev |
||||||||||
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.
It can be assumed that the GL context will be current for the appropriate surface before any of the methods in this interface are called. The user should not attempt any form of context state manipulation.
Method Summary | |
void |
postDraw(javax.media.opengl.GL gl,
java.lang.Object userData)
Perform any post-rendering actions that you may need for this scene. |
void |
preDraw(javax.media.opengl.GL gl,
java.lang.Object userData)
Perform any pre-rendering setup that you may need for this scene. |
Method Detail |
public void preDraw(javax.media.opengl.GL gl, java.lang.Object userData)
gl
- The current GL context wrapper to draw withuserData
- Some identifiable data provided by the userpublic void postDraw(javax.media.opengl.GL gl, java.lang.Object userData)
gl
- The current GL context wrapper to draw withuserData
- Some identifiable data provided by the user
|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |