element PackagedShader
diagram x3d-4.0_p155.png
properties
content complex
children field IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
groups AppearanceChildContentModelNoProtoInstance 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.
language  SFString        
url  MFString        
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Networking"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
containerField  xs:NMTOKEN    shaders    
documentation
parent Appearance node
annotation
appinfo
<xs:element name="metadata" type="SFNode" fixed="inputOutputField" default="X3DMetadataObject"/>
<!-- language, activate, isSelected, isValid inherited from X3DShaderNode -->
<xs:attribute name="language" type="shaderLanguageValues"/>
<xs:attribute name="activate" type="SFBool" fixed="inputOnlyField"/>
<xs:attribute name="isSelected" type="SFBool" fixed="outputOnlyField"/>
<xs:attribute name="isValid" type="SFBool" fixed="outputOnlyField"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DUrlObject"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DShaderNode"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DProgrammableShaderObject"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shaders"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
PackagedShader can contain field declarations, but no CDATA section of plain-text source code.
source <xs:element name="PackagedShader">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="metadata" type="SFNode" fixed="inputOutputField" default="X3DMetadataObject"/>
     
<!-- language, activate, isSelected, isValid inherited from X3DShaderNode -->
     
<xs:attribute name="language" type="shaderLanguageValues"/>
     
<xs:attribute name="activate" type="SFBool" fixed="inputOnlyField"/>
     
<xs:attribute name="isSelected" type="SFBool" fixed="outputOnlyField"/>
     
<xs:attribute name="isValid" type="SFBool" fixed="outputOnlyField"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DUrlObject"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DShaderNode"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DProgrammableShaderObject"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shaders"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
PackagedShader can contain field declarations, but no 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#PackagedShader"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>implements X3DShaderNode, X3DProgrammableShaderObject (and contains no CDATA source)</xs:documentation>
     
</xs:annotation>
     
<xs:element ref="field" minOccurs="0" maxOccurs="unbounded"/>
     
<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:attributeGroup ref="DEF_USE"/>
   
<xs:attributeGroup ref="globalAttributes"/>
   
<xs:attribute name="language" type="SFString"/>
   
<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="shaders">
     
<xs:annotation>
       
<xs:documentation>parent Appearance node</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute PackagedShader/@language
type SFString
source <xs:attribute name="language" type="SFString"/>

attribute PackagedShader/@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 PackagedShader/@containerField
type xs:NMTOKEN
properties
default shaders
annotation
documentation
parent Appearance node
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="shaders">
 
<xs:annotation>
   
<xs:documentation>parent Appearance node</xs:documentation>
 
</xs:annotation>
</xs:attribute>


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