PEXOCCTMCoordIndexedFillAreaSets - Computes a Projection of Texture Coordinates for Indexed Fill Area Sets (SOFAS)


Synopsis

     int PEXOCCTMCoordIndexedFillAreaSets(
            PEXOCC context,
            PEXTMCoordData *tm_coord_data,
            unsigned int set_count,
            PEXPointer facet_data,
            unsigned int vertex_count,
            PEXPointer vertices,
            unsigned int index_count,
            PEXSwitch *edge_flags,
            PEXConnectivityData *connectivity
       )

Arguments

context
An OC context returned by a successful PEXCreateOCC call.

tm_coord_data
A pointer to parameterization data for this primitive (See Description in PEXOCCTMCoordFillAreaSet)

facet_attributes(OCC)
A mask indicating the facet attributes provided (PEXGANone, PEXGAColor, PEXGANormal or PEXGAFloatData).

surface_vertex_attributes (OCC)
A mask indicating the vertex attributes provided (PEXGANone, PEXGAColor, PEXGANormal, PEXGA2D or PEXGAFloatData).

color_type (OCC)
The type of color data provided (PEXColorTypeIndexed, PEXColorTypeRGB, PEXColorTypeCIE, PEXColorTypeHSV, PEXColorTypeHLS, PEXColorTypeRGB8, PEXColorTypeRGB16, PEXColorTypeRGBA, PEXColorTypeRGBA8 or PEXColorTypeRGBA16).

facet_fp_data_count (OCC)
The number of optional floating-point numbers for each facet.

surface_vertex_fp_data_count (OCC)
The number of floating-point data values defined with each vertex.

edge_attributes (OCC)
A mask indicating the edge attributes provided (PEXGANone or PEXGAEdges).

set_count
The number of fill area sets.

facet_data
A pointer to the facet data.

connectivity
A pointer to the list of contour connectivity data.

data_model (OCC)
Specifies the data model used to represent the geometric data.

data_model_specs
Offset and size data for the PEXDataStride or PEXDataUnpacked data models.

Returns

<Same as for PEXOCCTMCoordFillAreaSet.>

Description

Invoke PEXOCCTMCoordIndexedFillAreaSets to compute a projection of texture coordinates onto the indexed fill area sets and store them in the specified vertex data fields.

<The rest of the description is identical to the description for PEXOCCTMCoordFillAreaSet.>

Errors

None.

See Also

For a list of related topics and for a list of all texture mapping functions, see Texture Mapping.