include

Include shader code from a remote URI.  If binary, assume raw.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
sid sid_type required
The sid attribute is a text string value containing the sub-identifier of this element. 
This value must be unique within the scope of the parent element. Optional attribute.
url xs:anyURI required
The url attribute refers to resource.  This may refer to a local resource using a relative URL 
fragment identifier that begins with the "#" character. The url attribute may refer to an external 
resource using an absolute or relative URL.

Source

<xs:element name="include" type="fx_include_type">
  <xs:annotation>
    <xs:documentation>Include shader code from a remote URI. If binary, assume raw.</xs:documentation>
  </xs:annotation>
</xs:element>

Sample