|
Aviatrix3D 2.0 Beta 2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A renderable object that contributes to part of a shader.
Field Summary | |
static int |
FRAGMENT_SHADER
The component represents a fragment shader |
static int |
GEOMETRY_SHADER
The component represents a geometry shader |
static int |
PROGRAM_SHADER
The component represents a complete GLSL shader program |
static int |
VERTEX_SHADER
The component represents a vertex shader |
Method Summary | |
int |
getComponentType()
Get the type of component this state represents. |
int |
getProgramId(javax.media.opengl.GL gl)
Fetch the ID handle for this program for the given context. |
boolean |
isValid(javax.media.opengl.GL gl)
Check to see if this is linked for the given GL context. |
Methods inherited from interface org.j3d.aviatrix3d.rendering.ObjectRenderable |
postRender, render |
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable |
equals |
Methods inherited from interface java.lang.Comparable |
compareTo |
Field Detail |
public static final int VERTEX_SHADER
public static final int FRAGMENT_SHADER
public static final int GEOMETRY_SHADER
public static final int PROGRAM_SHADER
Method Detail |
public int getComponentType()
public boolean isValid(javax.media.opengl.GL gl)
gl
- The GL context to test for linkage against
public int getProgramId(javax.media.opengl.GL gl)
gl
- The GL context to get the ID for
|
Aviatrix3D 2.0 Beta 2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |