Uses of Class
org.web3d.x3d.jsail.Shaders.ProgramShader
Package
Description
The Programmable Shaders component describes how programmable shaders are specified and how they affect the visual appearance of geometry.
-
Uses of ProgramShader in org.web3d.x3d.jsail.Shaders
Modifier and TypeMethodDescriptionProgramShader.addComments
(String newComment) Add comment as String to contained commentsList.ProgramShader.addComments
(String[] newComments) Add comments as String[] array to contained commentsList.ProgramShader.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.ProgramShader.addPrograms
(ProtoInstance newValue) Add single ProtoInstance (with appropriate node type and containerField value) to MFNode array for programs field.ProgramShader.addPrograms
(ShaderProgram newValue) Add single child node to existing array of programs nodes (if any).ProgramShader.clearIS()
Utility method to clear SFNode value of IS field.ProgramShader.clearMetadata()
Utility method to clear SFNode value of metadata field.ProgramShader.clearPrograms()
Utility method to clear MFNode value of programs field.ProgramShader.setActivate
(boolean newValue) Accessor method to assign boolean value to inputOnly SFBool field named activate.ProgramShader.setActivate
(SFBool newValue) Assign typed object value to SFBool activate field, similar tosetActivate(boolean)
.final ProgramShader
ProgramShader.setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.ProgramShader.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final ProgramShader
ProgramShader.setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.ProgramShader.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final ProgramShader
Accessor method to assign String value to inputOutput SFString field named DEF.Assign typed object value to SFString DEF field, similar tosetDEF(String)
.final ProgramShader
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.ProgramShader.setLanguage
(String newValue) Accessor method to assign String enumeration value ("Cg" | "GLSL" | "HLSL") to initializeOnly SFString field named language.ProgramShader.setLanguage
(SFString newValue) Assign typed object value to SFString language field, similar tosetLanguage(String)
.ProgramShader.setMetadata
(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.ProgramShader.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.ProgramShader.setPrograms
(ArrayList<ShaderProgram> newValue) Assign ArrayList value of MFNode programs field, similar tosetPrograms(org.web3d.x3d.sai.Core.X3DNode[])
.ProgramShader.setPrograms
(X3DNode[] newValue) Accessor method to assign org.web3d.x3d.sai.Shaders.ShaderProgram array (using an array consisting of properly typed nodes or ProtoInstances) to inputOutput MFNode field programs.final ProgramShader
Accessor method to assign String value to inputOutput SFString field named USE.Assign typed object value to SFString USE field, similar tosetUSE(String)
.ProgramShader.setUSE
(ProgramShader DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.Modifier and TypeMethodDescriptionProgramShader.setUSE
(ProgramShader DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.