| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.ShaderAttributeRetained javax.media.j3d.ShaderAttributeBindingRetained
ShaderAttributeBindingRetained | class ShaderAttributeBindingRetained extends ShaderAttributeRetained (Code) | | The ShaderAttributeBinding object encapsulates a uniform attribute
whose value is bound to a Java 3D system attribute. The
shader variable attrName is implicitly set to the
value of the corresponding Java 3D system attribute
j3dAttrName during rendering. attrName
must be the name of a valid uniform attribute in the shader in
which it is used. Otherwise, the attribute name will be ignored and
a runtime error may be generated. j3dAttrName must be
the name of a predefined Java 3D system attribute. An
IllegalArgumentException will be thrown if the specified
j3dAttrName is not one of the predefined system
attributes. Further, the type of the j3dAttrName
attribute must match the type of the corresponding
attrName variable in the shader in which it is
used. Otherwise, the shader will not be able to use the attribute
and a runtime error may be generated.
|
ShaderAttributeBindingRetained | ShaderAttributeBindingRetained()(Code) | | |
getJ3DAttributeName | String getJ3DAttributeName()(Code) | | Retrieves the name of the Java 3D system attribute that is bound to this
shader attribute.
the name of the Java 3D system attribute that is bound to thisshader attribute |
initJ3dAttrName | void initJ3dAttrName(String j3dAttrName)(Code) | | |
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|
|