sampler_image

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
name xs:token optional
The name attribute is the text string name of this element. Optional attribute.
sid sid_type optional
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 to instantiate. 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="sampler_image" type="instance_image_type"/>

Sample

< library_images xmlns = "http://www.collada.org/2008/03/COLLADASchema" >

< image id = "base" name = "base" >

< init_from>

< ref>

./Textured_Bump_GLSL/Fieldstone.tga

</ ref>

</ init_from>

</ image>

< image id = "bump" name = "bump" >

< init_from>

< ref>

./Textured_Bump_GLSL/FieldstoneBumpDOT3.tga

</ ref>

</ init_from>

</ image>

</ library_images>