| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.ShaderAttributeRetained javax.media.j3d.ShaderAttributeObjectRetained
All known Subclasses: javax.media.j3d.ShaderAttributeValueRetained, javax.media.j3d.ShaderAttributeArrayRetained,
ShaderAttributeObjectRetained | abstract class ShaderAttributeObjectRetained extends ShaderAttributeRetained (Code) | | The ShaderAttributeObjectRetained class is an abstract class that
encapsulates a uniform shader attribute whose value is specified
explicitly.
|
Inner Class :abstract static class AttrWrapper | |
TYPE_FLOAT | final static int TYPE_FLOAT(Code) | | |
TYPE_INTEGER | final static int TYPE_INTEGER(Code) | | |
TYPE_MATRIX3F | final static int TYPE_MATRIX3F(Code) | | |
TYPE_MATRIX4F | final static int TYPE_MATRIX4F(Code) | | |
TYPE_TUPLE2F | final static int TYPE_TUPLE2F(Code) | | |
TYPE_TUPLE2I | final static int TYPE_TUPLE2I(Code) | | |
TYPE_TUPLE3F | final static int TYPE_TUPLE3F(Code) | | |
TYPE_TUPLE3I | final static int TYPE_TUPLE3I(Code) | | |
TYPE_TUPLE4F | final static int TYPE_TUPLE4F(Code) | | |
TYPE_TUPLE4I | final static int TYPE_TUPLE4I(Code) | | |
attrWrapper | AttrWrapper attrWrapper(Code) | | |
ShaderAttributeObjectRetained | ShaderAttributeObjectRetained()(Code) | | Package scope constructor
|
computeClassType | abstract int computeClassType(Object value)(Code) | | Computes the base class from the specified object. A
ClassCastException is thrown if the object is not an instance
or array of one of the allowed classes.
|
createAttrWrapper | abstract AttrWrapper createAttrWrapper(Object value, int classType)(Code) | | Creates an attribute wrapper object of the specified class
type, and stores the specified object.
|
getBaseClass | abstract Class getBaseClass(int classType)(Code) | | Returns the base class represented by the specified class type.
|
getClassType | int getClassType()(Code) | | |
getValue | Object getValue()(Code) | | Retrieves the value of this shader attribute.
A copy of the object is returned.
|
getValueClass | Class getValueClass()(Code) | | Retrieves the base class of the value of this shader attribute.
This class will always be one of the allowable classes, even if
a subclass was used to construct this shader attribute object.
For example, if this shader attribute object was constructed
with an instance of javax.vecmath.Point3f , the
returned class would be javax.vecmath.Tuple3f .
the base class of the value of this shader attribute |
handleFrequencyChange | void handleFrequencyChange(int bit)(Code) | | |
initMirrorObject | synchronized void initMirrorObject()(Code) | | Initializes a mirror object.
|
sendMessage | final void sendMessage(int attrMask, Object attr)(Code) | | |
setClassType | void setClassType(int classType)(Code) | | |
setFrequencyChangeMask | void setFrequencyChangeMask(int bit, int mask)(Code) | | |
setValue | void setValue(Object value)(Code) | | Sets the value of this shader attribute to the specified value.
A copy of the object is stored.
Parameters: value - the new value of the shader attribute exception: NullPointerException - if value is null exception: ClassCastException - if value is not an instance ofthe same base class as the object used to construct this shaderattribute object. |
updateMirrorObject | synchronized void updateMirrorObject(int component, Object value)(Code) | | Update the "component" field of the mirror object with the given "value"
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|
|