Expand description
Contains functions for reading data out of a Source.
Structs§
- Map
- The output of
SourceReader::map. - ST
- A marker type for inputs with
name="S","T". Collada usesSandTto denote texture coordinates (usually called “UV”), because"U"and"V"are used for generic parameters. - STReader
- A reader which accesses fields with
name="S","T"in the source array. Collada usesSandTto denote texture coordinates (usually called “UV”), because"U"and"V"are used for generic parameters. - Source
Reader - A
SourceReaderis responsible for preparing aSourcefor reading, by doing some up front calulation inSource::readerto determine how the data will be sliced. Once it is ready,SourceReader::getis used to access values from the array.SourceReaderalso implementsIterator, so it can be used in for loops. - XYZ
- A marker type for inputs with
name="X","Y","Z". This is used in Collada to store vertex position data, and normal data. - XYZReader
- A reader which accesses fields with
name="X","Y","Z"in the source array. This is used in Collada to store vertex position data, and normal data.
Traits§
- Input
Kind - A trait implemented on marker types like
XYZto allow for strict typing of input kinds. - Source
Read - A trait for
Sourcereaders, which are used via theSourceReadertype returned fromSource::reader. Users can implement this trait on their own type to customize reading, or useXYZandSTfor the common cases.