public interface ShaderProgram extends X3DNode, X3DUrlObject, X3DProgrammableShaderObject
| Modifier and Type | Method and Description |
|---|---|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String |
getType()
Provide String enumeration value ['VERTEX'|'FRAGMENT'|'etc.'] from inputOutput SFString field named type.
|
java.lang.String[] |
getUrl()
Provide array of String results from inputOutput MFString field named url.
|
ShaderProgram |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ShaderProgram |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ShaderProgram |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ShaderProgram |
setType(java.lang.String newValue)
Assign String enumeration value ("VERTEX"|"FRAGMENT") ['VERTEX'|'FRAGMENT'|'etc.'] to inputOutput SFString field named type.
|
ShaderProgram |
setUrl(java.lang.String[] newValue)
Assign String array to inputOutput MFString field named url.
|
ShaderProgram |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
X3DMetadataObject getMetadata()
getMetadata in interface X3DNodeShaderProgram setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodenewValue - is new value for the metadata field.ShaderProgram - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getType()
ShaderProgram setType(java.lang.String newValue)
newValue - is new value for the type field.ShaderProgram - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String[] getUrl()
getUrl in interface X3DUrlObjectShaderProgram setUrl(java.lang.String[] newValue)
setUrl in interface X3DUrlObjectnewValue - is new value for the url field.ShaderProgram - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ShaderProgram setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface X3DProgrammableShaderObjectnewValue - is new value for the DEF field.ShaderProgram - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ShaderProgram setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DNodesetUSE in interface X3DProgrammableShaderObjectnewValue - is new value for the USE field.ShaderProgram - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).ShaderProgram setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface X3DProgrammableShaderObjectnewValue - is new value for the class field.ShaderProgram - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.