|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Marker interface for NodeComponent
classes that need to render
themself using some extra external identifier.
The generation and interpretation of the external data is dependent on the specific derived type. For example, for lights, the data represents the GL light ID (eg GL_LIGHT0) to be used for the glEnable() call. The data may be generated as part of the culling stage or sorting stage, depending on the object. Refer to the individual implementing class documentation for more details.
Method Summary | |
void |
postRender(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu,
java.lang.Object externalData)
|
void |
render(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu,
java.lang.Object externalData)
Overloaded form of the render() method to render the light details given the specific Light ID used by OpenGL. |
Method Detail |
public void render(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu, java.lang.Object externalData)
gl
- The GL context to render withglu
- The GL utility context to render withexternalData
- Some implementation-specific external data to
aid in the renderingpublic void postRender(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu, java.lang.Object externalData)
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |