sources

sid of the code or include element which provides the source for this shader.  Code may come from local or library_code.

Element Information

Model

Children: import, inline

Source

<xs:element name="sources" type="fx_sources_type">
  <xs:annotation>
    <xs:documentation>sid of the code or include element which provides the source for this shader. Code may come from local or library_code.</xs:documentation>
  </xs:annotation>
</xs:element>

Sample

< shader xmlns = "http://www.collada.org/2008/03/COLLADASchema" stage = "VERTEX" >

< sources>

< import ref = "Vertex_Program_E0_P0_VP" />

</ sources>

</ shader>