| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Shaders |
The programmable shaders component describes how programmable shaders are specified
and how they affect the visual appearance of geometry.
|
| Modifier and Type | Method and Description |
|---|---|
ComposedShaderObject |
ComposedShaderObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
ComposedShaderObject |
ComposedShaderObject.addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
ComposedShaderObject |
ComposedShaderObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
ComposedShaderObject |
ComposedShaderObject.addField(fieldObject newField)
Add field to fieldList for this ComposedShaderObject
|
ComposedShaderObject |
ComposedShaderObject.addParts(ShaderPartObject newValue)
Add single child node to existing array of parts nodes (if any).
|
ComposedShaderObject |
ComposedShaderObject.clearMetadata()
Utility method to clear SFNode value of metadata field.
|
ComposedShaderObject |
ComposedShaderObject.clearParts()
Utility method to clear MFNode value of parts field.
|
ComposedShaderObject |
ComposedShaderObject.setActivate(boolean newValue)
Assign boolean value to inputOnly SFBool field named activate.
|
ComposedShaderObject |
ComposedShaderObject.setActivate(SFBoolObject newValue)
Assign typed object value to SFBool activate field, similar to
setActivate(boolean). |
ComposedShaderObject |
ComposedShaderObject.setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
ComposedShaderObject |
ComposedShaderObject.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
ComposedShaderObject |
ComposedShaderObject.setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
ComposedShaderObject |
ComposedShaderObject.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
ComposedShaderObject |
ComposedShaderObject.setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
ComposedShaderObject |
ComposedShaderObject.setLanguage(SFStringObject newValue)
Assign typed object value to SFString language field, similar to
setLanguage(String). |
ComposedShaderObject |
ComposedShaderObject.setLanguage(java.lang.String newValue)
Assign String enumeration value ("Cg"|"GLSL"|"HLSL") ['Cg'|'GLSL'|'HLSL'|'etc.'] to initializeOnly SFString field named language.
|
ComposedShaderObject |
ComposedShaderObject.setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
ComposedShaderObject |
ComposedShaderObject.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
ComposedShaderObject |
ComposedShaderObject.setParts(java.util.ArrayList<ShaderPart> newValue)
Assign ArrayList value of MFNode parts field, similar to
setParts(X3DNode[]). |
ComposedShaderObject |
ComposedShaderObject.setParts(X3DConcreteNode newValue)
Utility method to set single SFNode as ComposedShaderObject parts.
|
ComposedShaderObject |
ComposedShaderObject.setParts(X3DNode[] newValue)
Assign ShaderPart array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field parts.
|
ComposedShaderObject |
ComposedShaderObject.setUSE(ComposedShaderObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
ComposedShaderObject |
ComposedShaderObject.setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
ComposedShaderObject |
ComposedShaderObject.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
| Modifier and Type | Method and Description |
|---|---|
ComposedShaderObject |
ComposedShaderObject.setUSE(ComposedShaderObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.