|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeometryRenderable
Marker interface for the terminal rendering state in OpenGL - a piece of geometry.
In OpenGL, sending geometry to the pipeline is the terminal state causing something to be rendered. This interface marks that terminal position. There is only a need for a single rendering call as we don't have other state that needs to be backed out of. It is expected that the geometry implementation will back out of any local state that it may have enabled to do local rendering, such as vertex array client state, VBO binding etc.
Method Summary | |
---|---|
boolean |
hasTransparency()
Check to see if this geometry has anything that could be interpreted as an alpha value. |
void |
render(javax.media.opengl.GL gl)
Render the geometry now. |
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable |
---|
equals |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
boolean hasTransparency()
void render(javax.media.opengl.GL gl)
gl
- The GL context to render with
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |