class ShaderAttributeArrayRetained extends ShaderAttributeObjectRetained
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ShaderAttributeArrayRetained.ArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.FloatArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.IntegerArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Matrix3fArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Matrix4fArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Tuple2fArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Tuple2iArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Tuple3fArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Tuple3iArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Tuple4fArrayWrapper |
(package private) static class |
ShaderAttributeArrayRetained.Tuple4iArrayWrapper |
ShaderAttributeObjectRetained.AttrWrapperattrWrapper, classTable, classTableArr, TYPE_FLOAT, TYPE_INTEGER, TYPE_MATRIX3F, TYPE_MATRIX4F, TYPE_TUPLE2F, TYPE_TUPLE2I, TYPE_TUPLE3F, TYPE_TUPLE3I, TYPE_TUPLE4F, TYPE_TUPLE4IattrNamechangedFrequent, compChanged, duplicateOnCloneTree, mirror, refCnt, refCount, usersDONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, sourcelistIdx| Constructor and Description |
|---|
ShaderAttributeArrayRetained() |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
computeClassType(java.lang.Object value)
Computes the base class from the specified object.
|
(package private) ShaderAttributeObjectRetained.AttrWrapper |
createAttrWrapper(java.lang.Object value,
int classType)
Creates an attribute wrapper object of the specified class
type, and stores the specified array of objects.
|
(package private) void |
createMirrorObject() |
(package private) java.lang.Class |
getBaseClass(int classType)
Returns the base class represented by the specified class type.
|
(package private) void |
initValue(int index,
java.lang.Object value) |
(package private) int |
length()
Returns the number of elements in the value array.
|
(package private) void |
setValue(int index,
java.lang.Object value)
Sets the specified array element of the value of this shader
attribute to the specified value.
|
createObjectData, getClassType, getValue, getValueClass, handleFrequencyChange, initMirrorObject, initValue, sendMessage, setClassType, setFrequencyChangeMask, setValue, updateMirrorObjectgetAttributeName, initializeAttrNameaddAMirrorUser, addUser, clearLive, clone, copyMirrorUsers, decRefCnt, doSetLive, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setInImmCtx, setLiveclearLive, clearLive, compile, doSetLive, doSetLive, getSource, getVirtualUniverse, isInSetLive, isStatic, markAsLive, merge, mergeTransform, setCompiled, setLive, setLive, setSource, traversegetIdxUsed, incIdxUsedvoid initValue(int index,
java.lang.Object value)
void setValue(int index,
java.lang.Object value)
value - the new value of the shader attributejava.lang.NullPointerException - if value is nulljava.lang.ClassCastException - if value is not an instance of
the same base class as the individual elements of the array object
used to construct this shader attribute object.CapabilityNotSetException - if appropriate capability is
not set and this object is part of live or compiled scene graphint length()
CapabilityNotSetException - if appropriate capability is
not set and this object is part of live or compiled scene graphvoid createMirrorObject()
createMirrorObject in class NodeComponentRetainedint computeClassType(java.lang.Object value)
computeClassType in class ShaderAttributeObjectRetainedjava.lang.Class getBaseClass(int classType)
getBaseClass in class ShaderAttributeObjectRetainedShaderAttributeObjectRetained.AttrWrapper createAttrWrapper(java.lang.Object value, int classType)
createAttrWrapper in class ShaderAttributeObjectRetainedCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.