complexType X3DShaderNode
diagram x3d-3.1_diagrams/x3d-3.1_p245.png
type extension of X3DAppearanceChildNode
properties
base X3DAppearanceChildNode
abstract true
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
element ProgramShader
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referenceable 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 Cascading Style Sheets (CSS) and XML stylesheets.
language  SFString        
annotation
appinfo
<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="componentName" type="componentNameChoices" fixed="Shaders"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Base type for all nodes that specify a programmable shader.
source <xs:complexType name="X3DShaderNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<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="componentName" type="componentNameChoices" fixed="Shaders"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Base type for all nodes that specify a programmable shader.
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#X3DShaderNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DAppearanceChildNode">
     
<xs:attribute name="language" type="SFString"/>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

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


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