type | restriction of xs:NMTOKEN | ||||||||||||||||||
properties |
|
||||||||||||||||||
facets |
|
||||||||||||||||||
annotation |
|
||||||||||||||||||
source | <xs:simpleType name="shaderLanguageValues"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shaders"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> shaderLanguageValues are supported enumeration values for the language field in shader nodes including "Cg" "GLSL" "HLSL", other values are optionally supported by browsers. Used to optionally determine the language type if no MIME-type information is available. Unbounded, additional values are allowed. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#X3DShaderNode"/> </xs:annotation> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="Cg"> <xs:annotation> <xs:appinfo>nVidia Cg shading language</xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="GLSL"> <xs:annotation> <xs:appinfo>OpenGL shading language (GLSL)</xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="HLSL"> <xs:annotation> <xs:appinfo>Microsoft High Level Shading Language (HLSL)</xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> |