Uses of Class
org.web3d.x3d.jsail.Shaders.ShaderProgram
Package
Description
The Programmable Shaders component describes how programmable shaders are specified and how they affect the visual appearance of geometry.
-
Uses of ShaderProgram in org.web3d.x3d.jsail.Shaders
Modifier and TypeMethodDescriptionShaderProgram.addComments
(String newComment) Add comment as String to contained commentsList.ShaderProgram.addComments
(String[] newComments) Add comments as String[] array to contained commentsList.ShaderProgram.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.Add field to fieldList for this ShaderProgramAdd singleton String value to MFString url field.Add singleton SFString value to MFString url field.ShaderProgram.appendSourceCode
(String newSourceCode) Append source code (for example, JavaScript)ShaderProgram.appendSourceCode
(StringBuilder newSourceCode) Append source code (for example, JavaScript)ShaderProgram.clearField()
Utility method to clear MFNode value of fieldList field.ShaderProgram.clearIS()
Utility method to clear SFNode value of IS field.ShaderProgram.clearMetadata()
Utility method to clear SFNode value of metadata field.ShaderProgram.clearSourceCode()
Clear all contained CDATA source code.ShaderProgram.clearUrl()
Utility method to clear MFString value of url field.ShaderProgram.setAutoRefresh
(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named autoRefresh.ShaderProgram.setAutoRefresh
(SFTime newValue) Assign typed object value to SFTime autoRefresh field, similar tosetAutoRefresh(double)
.ShaderProgram.setAutoRefreshTimeLimit
(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named autoRefreshTimeLimit.ShaderProgram.setAutoRefreshTimeLimit
(SFTime newValue) Assign typed object value to SFTime autoRefreshTimeLimit field, similar tosetAutoRefreshTimeLimit(double)
.final ShaderProgram
ShaderProgram.setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.ShaderProgram.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final ShaderProgram
ShaderProgram.setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.ShaderProgram.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final ShaderProgram
Accessor method to assign String value to inputOutput SFString field named DEF.Assign typed object value to SFString DEF field, similar tosetDEF(String)
.ShaderProgram.setDescription
(String newValue) Accessor method to assign String value to inputOutput SFString field named description.ShaderProgram.setDescription
(SFString newValue) Assign typed object value to SFString description field, similar tosetDescription(String)
.Set single child field node, replacing prior array of existing nodes (if any).ShaderProgram.setFieldList
(ArrayList<field> newValue) Accessor method to assign field array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field field.final ShaderProgram
Accessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.ShaderProgram.setLoad
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named load.Assign typed object value to SFBool load field, similar tosetLoad(boolean)
.ShaderProgram.setMetadata
(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.ShaderProgram.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.ShaderProgram.setSourceCode
(String newValue) Accessor method to assign String value to inputOutput SFString field named sourceCode.ShaderProgram.setSourceCode
(StringBuilder newSourceCode) Set new source code (for example, JavaScript), utility method using StringBuilder.ShaderProgram.setSourceCode
(SFString newValue) Assign typed object value to SFString sourceCode field, similar tosetSourceCode(String)
.Accessor method to assign String enumeration value ("VERTEX" | "FRAGMENT") to initializeOnly SFString field named type.Assign typed object value to SFString type field, similar tosetType(String)
.Assign singleton String value to MFString url field, similar tosetUrl(String[])
.Accessor method to assign String array to inputOutput MFString field named url.Assign ArrayList value of MFString url field, similar tosetUrl(String[])
.Assign typed object value to MFString url field, similar tosetUrl(String[])
.Assign single SFString object value to MFString url field, similar tosetUrl(String[])
.final ShaderProgram
Accessor method to assign String value to inputOutput SFString field named USE.Assign typed object value to SFString USE field, similar tosetUSE(String)
.ShaderProgram.setUSE
(ShaderProgram DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.Modifier and TypeMethodDescriptionProgramShader.addPrograms
(ShaderProgram newValue) Add single child node to existing array of programs nodes (if any).ShaderProgram.setUSE
(ShaderProgram DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.