| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.ShaderProgramRetained javax.media.j3d.GLSLShaderProgramRetained
GLSLShaderProgramRetained | class GLSLShaderProgramRetained extends ShaderProgramRetained (Code) | | The GLSLShaderProgram object is a concrete implementation of a
ShaderProgram node component for the OpenGL GLSL shading language.
|
Method Summary | |
ShaderError | bindVertexAttrName(Context ctx, ShaderProgramId shaderProgramId, String attrName, int attrIndex) | ShaderError | compileShader(Context ctx, ShaderId shaderId, String source) Method to compile the native shader. | synchronized void | createMirrorObject() | ShaderError | createShader(Context ctx, ShaderRetained shader, ShaderId[] shaderIdArr) Method to create the native shader. | ShaderError | createShaderProgram(Context ctx, ShaderProgramId[] shaderProgramIdArr) Method to create the native shader program. | ShaderError | destroyShader(Context ctx, ShaderId shaderId) Method to destroy the native shader. | ShaderError | destroyShaderProgram(Context ctx, ShaderProgramId shaderProgramId) Method to destroy the native shader program. | ShaderError | disableShaderProgram(Context ctx) Method to disable the native shader program. | ShaderError | enableShaderProgram(Context ctx, ShaderProgramId shaderProgramId) Method to enable the native shader program. | boolean | isSupported(Canvas3D cv) Method to return a flag indicating whether this
ShaderProgram is supported on the specified Canvas. | ShaderError | linkShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds) Method to link the native shader program. | void | lookupShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, String[] attrNames, AttrNameInfo[] attrNameInfoArr) | void | lookupVertexAttrNames(Context ctx, ShaderProgramId shaderProgramId, String[] attrNames, boolean[] errArr) | ShaderError | setUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value) | ShaderError | setUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value) | ShaderError | setUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value) | ShaderError | setUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value) | ShaderError | setUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value) | ShaderError | setUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value) | ShaderError | setUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value) | ShaderError | setUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value) | ShaderError | setUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value) | ShaderError | setUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value) | ShaderError | setUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value) | ShaderError | setUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value) | ShaderError | setUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value) | ShaderError | setUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value) | ShaderError | setUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value) | ShaderError | setUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value) | ShaderError | setUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value) | ShaderError | setUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value) | ShaderError | setUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value) | ShaderError | setUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value) |
GLSLShaderProgramRetained | GLSLShaderProgramRetained()(Code) | | Constructs a GLSL shader program node component.
|
createMirrorObject | synchronized void createMirrorObject()(Code) | | |
isSupported | boolean isSupported(Canvas3D cv)(Code) | | Method to return a flag indicating whether this
ShaderProgram is supported on the specified Canvas.
|
Methods inherited from javax.media.j3d.ShaderProgramRetained | abstract ShaderError bindVertexAttrName(Context ctx, ShaderProgramId shaderProgramId, String attrName, int attrIndex)(Code)(Java Doc) void clearLive(int refCount)(Code)(Java Doc) abstract ShaderError compileShader(Context ctx, ShaderId shaderId, String source)(Code)(Java Doc) abstract ShaderError createShader(Context ctx, ShaderRetained shader, ShaderId[] shaderIdArr)(Code)(Java Doc) abstract ShaderError createShaderProgram(Context ctx, ShaderProgramId[] shaderProgramIdArr)(Code)(Java Doc) abstract ShaderError destroyShader(Context ctx, ShaderId shaderId)(Code)(Java Doc) void destroyShader(Canvas3D cv, int cvRdrIndex, ShaderRetained shader)(Code)(Java Doc) abstract ShaderError destroyShaderProgram(Context ctx, ShaderProgramId shaderProgramId)(Code)(Java Doc) void destroyShaderProgram(Canvas3D cv, int cvRdrIndex)(Code)(Java Doc) abstract ShaderError disableShaderProgram(Context ctx)(Code)(Java Doc) abstract ShaderError enableShaderProgram(Context ctx, ShaderProgramId shaderProgramId)(Code)(Java Doc) String[] getShaderAttrNames()(Code)(Java Doc) Shader[] getShaders()(Code)(Java Doc) String[] getVertexAttrNames()(Code)(Java Doc) synchronized void initMirrorObject()(Code)(Java Doc) abstract boolean isSupported(Canvas3D cv)(Code)(Java Doc) abstract ShaderError linkShaderProgram(Context ctx, ShaderProgramId shaderProgramId, ShaderId[] shaderIds)(Code)(Java Doc) abstract void lookupShaderAttrNames(Context ctx, ShaderProgramId shaderProgramId, String[] attrNames, AttrNameInfo[] attrNameInfoArr)(Code)(Java Doc) abstract void lookupVertexAttrNames(Context ctx, ShaderProgramId shaderProgramId, String[] attrNames, boolean[] errArr)(Code)(Java Doc) void notifyErrorListeners(Canvas3D cv, ShaderError err)(Code)(Java Doc) void setLive(boolean backgroundGroup, int refCount)(Code)(Java Doc) void setShaderAttrNames(String[] shaderAttrNames)(Code)(Java Doc) void setShaderAttributes(Canvas3D cv, ShaderAttributeSetRetained attributeSet)(Code)(Java Doc) void setShaders(Shader[] shaders)(Code)(Java Doc) abstract ShaderError setUniform1f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float value)(Code)(Java Doc) abstract ShaderError setUniform1fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)(Code)(Java Doc) abstract ShaderError setUniform1i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int value)(Code)(Java Doc) abstract ShaderError setUniform1iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)(Code)(Java Doc) abstract ShaderError setUniform2f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)(Code)(Java Doc) abstract ShaderError setUniform2fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)(Code)(Java Doc) abstract ShaderError setUniform2i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)(Code)(Java Doc) abstract ShaderError setUniform2iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)(Code)(Java Doc) abstract ShaderError setUniform3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)(Code)(Java Doc) abstract ShaderError setUniform3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)(Code)(Java Doc) abstract ShaderError setUniform3i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)(Code)(Java Doc) abstract ShaderError setUniform3iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)(Code)(Java Doc) abstract ShaderError setUniform4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)(Code)(Java Doc) abstract ShaderError setUniform4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)(Code)(Java Doc) abstract ShaderError setUniform4i(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int[] value)(Code)(Java Doc) abstract ShaderError setUniform4iArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, int[] value)(Code)(Java Doc) ShaderError setUniformAttrArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc loc, ShaderAttributeArrayRetained saa)(Code)(Java Doc) ShaderError setUniformAttrValue(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc loc, ShaderAttributeValueRetained sav)(Code)(Java Doc) abstract ShaderError setUniformMatrix3f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)(Code)(Java Doc) abstract ShaderError setUniformMatrix3fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)(Code)(Java Doc) abstract ShaderError setUniformMatrix4f(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, float[] value)(Code)(Java Doc) abstract ShaderError setUniformMatrix4fArray(Context ctx, ShaderProgramId shaderProgramId, ShaderAttrLoc uniformLocation, int numElements, float[] value)(Code)(Java Doc) void setVertexAttrNames(String[] vertexAttrNames)(Code)(Java Doc) synchronized void updateMirrorObject(int component, Object value)(Code)(Java Doc) void updateNative(Canvas3D cv, boolean enable)(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|