#include <FCDGeometryPolygons.h>
Public Member Functions | |
FCDGeometryPolygonsInput () | |
Constructor. | |
Public Attributes | |
FUDaeGeometryInput::Semantic | semantic |
Determines the type of data to input. | |
uint32 | idx |
Offset within the COLLADA document for this input. | |
bool | ownsIdx |
[INTERNAL] Offset owner flags. | |
UInt32List | indices |
[INTERNAL] Tessellation indices. | |
FCDGeometrySource * | source |
Data source. | |
int32 | set |
Input set. |
This structure knows the type of input data in the data source as well as the set and offset for the data. It also contains a pointer to the mesh data source.
Many polygon set inputs may have the same offset (or 'idx') when multiple data sources are compressed together within the COLLADA document. In this case, one and only one of the polygon set input will have the 'ownsIdx' flag set. A polygon set input with this flag set will contain valid indices. To find the indices of any polygon set input, it is recommended that you use the FCDGeometryPolygons::FindIndicesForIdx function.
|
Offset within the COLLADA document for this input. All the inputs with the same offset value use the same indices within the COLLADA document. |
|
[INTERNAL] Tessellation indices. Use these indices to generate a list of unique vertices and generate your vertex buffers. You should not set or access the indices directly. Instead, use the FCDGeometryPolygons::FindIndicesForIdx function. |
|
[INTERNAL] Offset owner flags. One and only one polygon set input will have this flag set for each offset value. A polygon set input with this flag set will contain valid indices within the 'indices' member variable. You should not set or access this flag directly. Instead, use the FCDGeometryPolygons::FindIndicesForIdx function. |
|
Input set. Used to group together the texture coordinates with the texture tangents and binormals. ColladaMax: this value should also represent the map channel index or texture coordinates and vertex color channels. |
|
Data source. This is the data source into which the indices are indexing. You need to take the data source stride into consideration when unindexing the data. |