|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShaderComponentRenderable
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. |
void |
reinitialize(javax.media.opengl.GL gl)
Re-initialise this shader because the underlying GL context has changed. |
| 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 |
|---|
static final int VERTEX_SHADER
static final int FRAGMENT_SHADER
static final int GEOMETRY_SHADER
static final int PROGRAM_SHADER
| Method Detail |
|---|
int getComponentType()
boolean isValid(javax.media.opengl.GL gl)
gl - The GL context to test for linkage against
int getProgramId(javax.media.opengl.GL gl)
gl - The GL context to get the ID for
void reinitialize(javax.media.opengl.GL gl)
gl - The GL context to reinitialise with
|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||