T - Class of object this renderer draws.public interface ISubGLRenderer<T>
GLEventListeners and there were troubles
with using them directly (order of rendering), so I have now only these
subrenderes that are part of GLRendererCollection.| Modifier and Type | Method and Description |
|---|---|
List<BlendTriangle> |
getBlendedTris()
Because blending phase of rendering can be done only after all opaque
objects has been drawn and because polys has to be back-to-front ordered
every renderer will return list of its blended triangles so final
renderer can sort all blended triangles from all blended renderers and
do it correctly.
|
T |
getObject()
Return object this renderer draws.
|
void |
prepare(javax.media.opengl.GL gl)
Here should be done preparation for rendering (e.g.
|
void |
render(javax.media.opengl.GL gl)
Display stuff you want to.
|
void prepare(javax.media.opengl.GL gl)
gl - void render(javax.media.opengl.GL gl)
GLRendererCollectiongl - T getObject()
List<BlendTriangle> getBlendedTris()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.