sid of the code or include element which provides the source for this shader. Code may come from local or library_code. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
entry | xs:token | main | optional |
|
<xs:element name="sources"> <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:complexType> <xs:complexContent> <xs:extension base="fx_sources_type"> <xs:attribute name="entry" type="xs:token" default="main"> <xs:annotation> <xs:documentation>Not used by GLSL. Some languages require functional entry points. GLSL always uses "main". CG requires an entry point</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
< shader xmlns = "http://www.collada.org/2008/03/COLLADASchema" stage = "VERTEX" > |
< sources> |
</ sources> |
</ shader> |