[x3d-public] Issue with X3DUOM -- missing "" default value in ComposedShader.language

John Carlson yottzumm at gmail.com
Thu Mar 7 18:40:45 PST 2019


Issue with X3DUOM -- missing "" default value in ComposedShader.language
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#ComposedShader
31.4.1 ComposedShader
ComposedShader : X3DShaderNode, X3DProgrammableShaderObject {
  SFBool    [in]     activate
  SFNode    [in,out] metadata   NULL [X3DMetadataObject]
  MFNode    [in,out] parts      []   [ShaderPart]
  SFBool    [out]    isSelected
  SFBool    [out]    isValid
  SFString []        language   ""   ["Cg"|"GLSL"|"HLSL"|...]

  # And any number of:
  fieldType []       fieldName
  fieldType [in]     fieldName
  fieldType [out]    fieldName
  fieldType [in,out] fieldName
}

http://www.web3d.org/specifications/X3dUnifiedObjectModel-3.3.xml


<ConcreteNode name="ComposedShader">
<InterfaceDefinition specificationUrl="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#ComposedShader" appinfo="ComposedShader can contain field declarations, but no CDATA section of plain-text source code, since programs are composed from child ShaderPart nodes.">
<componentInfo name="Shaders" level="1"/>
<Inheritance baseType="X3DShaderNode"/>
<AdditionalInheritance baseType="X3DProgrammableShaderObject"/>
<field type="SFBool" accessType="inputOnly" name="activate"/>
<field type="SFBool" accessType="outputOnly" name="isSelected"/>
<field type="SFBool" accessType="outputOnly" name="isValid"/>
<field type="SFString" accessType="initializeOnly" name="language" additionalEnumerationValuesAllowed="true" baseType="shaderLanguageValues">
<enumeration value="Cg"/>
<enumeration value="GLSL"/>
<enumeration value="HLSL"/>
</field>
<field type="SFNode" accessType="inputOutput" name="metadata" default="NULL" acceptableNodeTypes="X3DMetadataObject"/>
<field type="MFNode" accessType="inputOutput" name="parts" acceptableNodeTypes="ShaderPart"/>
<field type="SFString" accessType="inputOutput" name="DEF" inheritedFrom="DEF_USE" baseType="xs:ID"/>
<field type="SFString" accessType="inputOutput" name="USE" inheritedFrom="DEF_USE" baseType="xs:IDREF"/>
<field type="SFString" accessType="inputOutput" name="class" inheritedFrom="globalAttributes" baseType="xs:NMTOKENS"/>
<containerField default="shaders" type="xs:NMTOKEN"/>
<ContentModel>
<FieldDeclaration minOccurs="0" maxOccurs="unbounded"/>
<GroupContentModel name="ChildContentModelCore" minOccurs="0"/>
<NodeContentModel name="ShaderPart"/>
<NodeContentModel name="ProtoInstance"/>
</ContentModel>
</InterfaceDefinition>
</ConcreteNode>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190307/84b6eba7/attachment-0001.html>


More information about the x3d-public mailing list