ComposedShader
From Web3D.org
Contents
ComposedShader
Specification Link: ComposedShader
ComposedShader : X3DShaderNode, X3DProgrammableShaderObject {
SFNode [in,out] metadata NULL [X3DMetadataObject]
MFNode [in,out] parts [] [ShaderPart]
SFBool [out] isSelected
SFBool [out] isValid
SFBool [in] activate
SFString [] language ""
# And any number of:
fieldType [] fieldName
fieldType [in] fieldName
fieldType [out] fieldName
fieldType [in,out] fieldName
}
DTD Validation
Children
Children must appear as follows:
- Any number, including zero, of user defined fields.
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including zero, of either:
- ShaderPart
- An appropriately typed Prototype node
Attributes
- There is no check that the value in the language field is acceptable.
Schema Validation
Children
Children must appear as follows:
- Any number, including zero, of user defined fields.
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including zero, of either:
- ShaderPart
- An appropriately typed Prototype node
Attributes
- There is no check that the value in the language field is acceptable.
Schematron validation
TBD