|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GLRenderable
Field Summary | |
---|---|
static int |
TRANSLUCENT
A rendering hint that suggests the object should be rendered with transparency enabled |
static int |
TWO_DIMENSIONAL
A rendering hint that suggests the object should be rendered at the end (in the foreground), after clip planes (e.g. |
Method Summary | |
---|---|
int |
getRenderHints()
Returns a bit code giving rendering hints about this renderable. |
void |
prerender(RenderList list)
Prepare for rendering, and potentially add itself to a list to be drawn by a GLRenderer. |
void |
render(GLRenderer renderer,
int flags)
Render this object using Open GL via the JOGL. |
void |
updateBounds(Point3d pmin,
Point3d pmax)
Update the minimum and maximum points for this object. |
Field Detail |
---|
static final int TRANSLUCENT
static final int TWO_DIMENSIONAL
Method Detail |
---|
void prerender(RenderList list)
list
- void render(GLRenderer renderer, int flags)
renderer
- renderer object which is used to perform the rendering. Provides pointers
to GL and GLU, along with helper functions.flags
- supplies flags that may be used to control different
aspects of the rendering. Flags are defined in GLRenderer
and currently include
GLRenderer.SELECTED
,
GLRenderer.VERTEX_COLORING
,
GLRenderer.HSV_COLOR_INTERPOLATION
,
GLRenderer.SORT_FACES
, and
GLRenderer.CLEAR_MESH_DISPLAY_LISTS
.void updateBounds(Point3d pmin, Point3d pmax)
pmin
- minimum pointpmax
- maximum pointint getRenderHints()
TRANSLUCENT
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |