org.j3d.aviatrix3d.rendering
Interface ObjectRenderable
- All Superinterfaces:
- java.lang.Comparable, Renderable
- All Known Subinterfaces:
- AppearanceAttributeRenderable, AppearanceRenderable, BackgroundRenderable, ShaderComponentRenderable, ShaderRenderable, TransparentObjectRenderable
- All Known Implementing Classes:
- AlphaAttributes, Appearance, Background, BlendAttributes, Box, BoxBackground, ColorBackground, Cone, Cylinder, DepthAttributes, Fog, FragmentShader, GL14Shader, GL14ShaderProgram, GLSLangShader, ImageBackground, LineAttributes, Material, MRTOffscreenTexture2D, MRTTexture2D, OffscreenTexture2D, Pixmap, PointAttributes, PolygonAttributes, Shader, ShaderProgram, Shape3D, ShapeBackground, Sphere, SphereBackground, Spring, StencilAttributes, TexCoordGeneration, Texture, Texture1D, Texture2D, Texture3D, TextureAttributes, TextureCubicEnvironmentMap, Torus, VertexShader, Viewpoint
public interface ObjectRenderable
- extends Renderable
Marker interface for all objects that can render themself given just a GL
context and GLU information.
Objects that handle their own state independently is usable by both
Node
and NodeComponent
classes.
Assumable Preconditions
- All state required to render this node shall be already available.
For example, if this is the geometry, all the appearance state will
already be set in the pipeline.
- Any transformations provided by parent transformations will be
already applied to the modelview stack.
Implementor Requirements
- The methods must be re-entrant as they can be called from multiple
places at once. For example, multiple pipes rendering the same object
on different screens simultaneously.
-
Implementor Guidelines
- Version:
- $Revision: 2.2 $
- Author:
- Justin Couch
Method Summary |
void |
postRender(javax.media.opengl.GL gl)
|
void |
render(javax.media.opengl.GL gl)
This method is called to render this node. |
Methods inherited from interface java.lang.Comparable |
compareTo |
render
void render(javax.media.opengl.GL gl)
- This method is called to render this node. All OpenGL commands needed
to render the node should be executed.
- Parameters:
gl
- The gl context to draw with
postRender
void postRender(javax.media.opengl.GL gl)
Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org