FCDGeometryPolygonsInput Class Reference
[COLLADA Document Geometry Entity]

An input data source for one mesh polygons set. More...

#include <FCDGeometryPolygons.h>

List of all members.

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.
FCDGeometrySourcesource
 Data source.
int32 set
 Input set.


Detailed Description

An input data source for one mesh polygons 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.


Member Data Documentation

uint32 FCDGeometryPolygonsInput::idx
 

Offset within the COLLADA document for this input.

All the inputs with the same offset value use the same indices within the COLLADA document.

UInt32List FCDGeometryPolygonsInput::indices
 

[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.

bool FCDGeometryPolygonsInput::ownsIdx
 

[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.

int32 FCDGeometryPolygonsInput::set
 

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.

FCDGeometrySource* FCDGeometryPolygonsInput::source
 

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.


The documentation for this class was generated from the following file:
Generated on Fri May 12 16:44:43 2006 for FCollada by  doxygen 1.4.6-NO