diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DNodeMixedContent | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | field IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="ShaderProgram"> <xs:annotation> <xs:appinfo> <xs:element name="field" type="MFNode" default="field"/> <!-- optional values, can be extended --> <xs:attribute name="type" type="shaderPartTypeValues"/> <xs:attribute name="sourceCode" type="xs:string" fixed="inputOutputField"> <xs:annotation> <xs:appinfo>Embedded scripting source code can be contained within the parent node as a plain-text CDATA block, without requiring escaping of special characters.</xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="additionalInterface" type="xs:string" default="X3DUrlObject"/> <xs:attribute name="additionalInterface" type="xs:string" default="X3DProgrammableShaderObject"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shaders"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> ShaderProgram can contain field declarations and a CDATA section of plain-text source code. </xs:appinfo> <xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/shaders.html#ShaderProgram"/> </xs:annotation> <xs:complexType mixed="true"> <xs:complexContent> <xs:extension base="X3DNodeMixedContent"> <xs:sequence> <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:attribute name="type" type="xs:NMTOKEN" default="VERTEX"/> <xs:attribute name="description" type="SFString"> <xs:annotation> <xs:appinfo>added in X3D version 4</xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="load" type="SFBool" default="true"/> <xs:attribute name="autoRefresh" default="0"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="autoRefreshTimeLimit" default="3600"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="url" type="MFString"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" 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="programs"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
type | xs:NMTOKEN | ||
properties |
|
||
source | <xs:attribute name="type" type="xs:NMTOKEN" default="VERTEX"/> |
type | SFString | ||
annotation |
|
||
source | <xs:attribute name="description" type="SFString"> <xs:annotation> <xs:appinfo>added in X3D version 4</xs:appinfo> </xs:annotation> </xs:attribute> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="load" type="SFBool" default="true"/> |
type | restriction of SFTime | ||||||
properties |
|
||||||
facets |
|
||||||
source | <xs:attribute name="autoRefresh" default="0"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | restriction of SFTime | ||||||
properties |
|
||||||
facets |
|
||||||
source | <xs:attribute name="autoRefreshTimeLimit" default="3600"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | MFString | ||
annotation |
|
||
source | <xs:attribute name="url" type="MFString"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Networking"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
type | xs:NMTOKEN | ||
properties |
|
||
source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="programs"/> |