IDeviceModelPlugIn::GetGamutBoundaryMesh method

Returns the triangular mesh from the plug-in. This function is used to compute the GamutBoundaryDescription.

Syntax


HRESULT GetGamutBoundaryMesh(
  [in]  UINT               cChannels,
  [in]  UINT               cVertices,
  [in]  UINT               cTriangles,
  [out] FLOAT              *pVertices,
  [out] GamutShellTriangle *pTriangles
);

Parameters

cChannels [in]

The number of channels.

cVertices [in]

The number of vertices.

cTriangles [in]

The number of triangles.

pVertices [out]

A pointer to the array of vertices in the plug-in model gamut shell.

pTriangles [out]

A pointer to the array of triangles in the plug-in model gamut shell.

Return value

If this function succeeds, the return value is S_OK.

If this function fails, the return value is E_FAIL.

Remarks

This function is called by the CreateMultiProfileTransform function.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WcsPlugIn.h

See also

IDeviceModelPlugIn
Basic Color Management Concepts
Functions

 

 

Show: