| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.ShaderAttributeRetained javax.media.j3d.ShaderAttributeObjectRetained javax.media.j3d.ShaderAttributeArrayRetained
ShaderAttributeArrayRetained | class ShaderAttributeArrayRetained extends ShaderAttributeObjectRetained (Code) | | The ShaderAttributeArray object encapsulates a uniform shader
attribute whose value is specified explicitly.
|
Inner Class :abstract static class ArrayWrapper extends AttrWrapper | |
Inner Class :static class IntegerArrayWrapper extends ArrayWrapper | |
Inner Class :static class FloatArrayWrapper extends ArrayWrapper | |
Inner Class :static class Tuple2iArrayWrapper extends ArrayWrapper | |
Inner Class :static class Tuple2fArrayWrapper extends ArrayWrapper | |
Inner Class :static class Tuple3iArrayWrapper extends ArrayWrapper | |
Inner Class :static class Tuple3fArrayWrapper extends ArrayWrapper | |
Inner Class :static class Tuple4iArrayWrapper extends ArrayWrapper | |
Inner Class :static class Tuple4fArrayWrapper extends ArrayWrapper | |
Inner Class :static class Matrix3fArrayWrapper extends ArrayWrapper | |
Inner Class :static class Matrix4fArrayWrapper extends ArrayWrapper | |
Method Summary | |
int | computeClassType(Object value) Computes the base class from the specified object. | AttrWrapper | createAttrWrapper(Object value, int classType) Creates an attribute wrapper object of the specified class
type, and stores the specified array of objects. | synchronized void | createMirrorObject() | Class | getBaseClass(int classType) Returns the base class represented by the specified class type. | void | initValue(int index, Object value) | int | length() Returns the number of elements in the value array. | void | setValue(int index, Object value) Sets the specified array element of the value of this shader
attribute to the specified value. |
ShaderAttributeArrayRetained | ShaderAttributeArrayRetained()(Code) | | |
computeClassType | int computeClassType(Object value)(Code) | | Computes the base class from the specified object. A
ClassCastException is thrown if the object is not an array of
one of the allowed classes.
|
createAttrWrapper | AttrWrapper createAttrWrapper(Object value, int classType)(Code) | | Creates an attribute wrapper object of the specified class
type, and stores the specified array of objects.
|
createMirrorObject | synchronized void createMirrorObject()(Code) | | |
getBaseClass | Class getBaseClass(int classType)(Code) | | Returns the base class represented by the specified class type.
|
length | int length()(Code) | | Returns the number of elements in the value array.
the number of elements in the value array exception: CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph |
setValue | void setValue(int index, Object value)(Code) | | Sets the specified array element of 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 individual elements of the array objectused to construct this shader attribute object. exception: CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph |
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|
|