HTML Encoding and Default Values⤴
<X3DShaderNode
language='""'
metadata='X3DMetadataObject'
></X3DShaderNode>
Inheritance⤴
- Core/X3DNode(19)
- Shape/X3DAppearanceChildNode(8)
- X3DShaderNode (2)
- CommonSurfaceShader
- ComposedShader
Fields⤴
These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via
DOM functions (i.e., using
setAttribute("myFieldName", "myFieldValue")
and
getAttribute("myFieldName")
).
Name | Type | Default Value | Range | Inheritance | Standard | Description |
---|---|---|---|---|---|---|
language | SFString | "" | ["Cg"|"GLSL"|"HLSL"|...] | The language field is used to indicate to the browser which shading language is used for the source file(s). This field may be used as a hint for the browser if the shading language is not immediately determinable from the source (e.g., a generic MIME type of text/plain is returned). A browser may use this field for determining which node instance will be selected and to ignore languages that it is not capable of supporting. Three basic language types are defined for this specification and others may be optionally supported by a browser. | ||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information |