| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.ShaderAttributeSetRetained
ShaderAttributeSetRetained | class ShaderAttributeSetRetained extends NodeComponentRetained (Code) | | The ShaderAttributeSet object provides uniform attributes to shader
programs.
|
ShaderAttributeSetRetained | ShaderAttributeSetRetained()(Code) | | Constructs an empty ShaderAttributeSetretained object. The attributes set
is initially empty.
|
clear | void clear()(Code) | | Removes all shader attributes from the attributes set. The
attributes set will be empty following this call.
|
clearLive | void clearLive(int refCount)(Code) | | |
createMirrorObject | synchronized void createMirrorObject()(Code) | | |
get | ShaderAttribute get(String attrName)(Code) | | Retrieves the shader attribute with the specified
attrName from the attributes set. If attrName does
not exist in the attributes set, null is returned.
Parameters: attrName - the name of the shader attribute to be retrieved exception: CapabilityNotSetException - if appropriate capability is not set and this object is part of live or compiled scene graph |
getAll | ShaderAttribute[] getAll()(Code) | | Returns a shallow copy of the attributes set.
a shallow copy of the attributes set |
handleFrequencyChange | void handleFrequencyChange(int bit)(Code) | | |
initMirrorObject | void initMirrorObject()(Code) | | |
put | void put(ShaderAttribute attr)(Code) | | Adds the specified shader attribute to the attributes set.
The newly specified attribute replaces an attribute with the
same name, if one already exists in the attributes set.
Parameters: attr - the shader attribute to be added to the set |
remove | void remove(String attrName)(Code) | | Removes the shader attribute with the specified
attrName from the attributes set. If attrName does
not exist in the attributes set then nothing happens.
Parameters: attrName - the name of the shader attribute to be removed |
remove | void remove(ShaderAttribute attr)(Code) | | Removes the specified shader attribute from the attributes
set. If the attribute does not exist in the attributes set then
nothing happens. Note that this method will not remove a
shader object other than the one specified, even if it has the
same name as the specified attribute. Applications that wish to
remove an attribute by name should use
removeAttribute(String) .
Parameters: attr - the shader attribute to be removed |
sendMessage | final void sendMessage(int attrMask, Object attr)(Code) | | |
setFrequencyChangeMask | void setFrequencyChangeMask(int bit, int mask)(Code) | | |
setLive | void setLive(boolean backgroundGroup, int refCount)(Code) | | |
size | int size()(Code) | | Returns the number of elements in the attributes set.
the number of elements in the attributes set |
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)
|
|
|
|