element ShaderPart
diagram x3d-3.3_p197.png
type extension of X3DNodeMixedContent
properties
content complex
mixed true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
element ComposedShader
group LoadSensorChildContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by XML stylesheets.
type  xs:NMTOKEN    VERTEX    
url  MFString        
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Networking"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
containerField  xs:NMTOKEN    parts    
documentation
parent ComposedShader node
annotation
appinfo
<!-- optional values, can be extended -->
<xs:attribute name="type" type="shaderPartTypeValues"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DUrlObject"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shaders"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
ShaderPart can contain a CDATA section of plain-text source code.
source <xs:element name="ShaderPart">
 
<xs:annotation>
   
<xs:appinfo>
     
<!-- optional values, can be extended -->
     
<xs:attribute name="type" type="shaderPartTypeValues"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DUrlObject"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shaders"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
ShaderPart can contain a CDATA section of plain-text source code.
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#ShaderPart"/>
 
</xs:annotation>
 
<xs:complexType mixed="true">
   
<xs:complexContent>
     
<xs:extension base="X3DNodeMixedContent">
       
<xs:sequence>
         
<xs:element ref="IS" minOccurs="0"/>
         
<xs:group ref="ChildContentModelCore" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>metadata</xs:documentation>
           
</xs:annotation>
         
</xs:group>
       
</xs:sequence>
       
<xs:attribute name="type" type="xs:NMTOKEN" default="VERTEX"/>
       
<xs:attribute name="url" type="MFString">
         
<xs:annotation>
           
<xs:appinfo>
             
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Networking"/>
             
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
           
</xs:appinfo>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="parts">
         
<xs:annotation>
           
<xs:documentation>parent ComposedShader node</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute ShaderPart/@type
type xs:NMTOKEN
properties
default VERTEX
source <xs:attribute name="type" type="xs:NMTOKEN" default="VERTEX"/>

attribute ShaderPart/@url
type MFString
annotation
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Networking"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
source <xs:attribute name="url" type="MFString">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Networking"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute ShaderPart/@containerField
type xs:NMTOKEN
properties
default parts
annotation
documentation
parent ComposedShader node
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="parts">
 
<xs:annotation>
   
<xs:documentation>parent ComposedShader node</xs:documentation>
 
</xs:annotation>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy