Microsoft DirectX 8.1 (C++)

ID3DXBaseMesh::ConvertAdjacencyToPointReps

Converts mesh adjacency information to an array of point representatives.

HRESULT ConvertAdjacencyToPointReps(
  CONST DWORD*fAdjacency,
  CONST DWORD*pPRep);

Parameters

fAdjacency
[in] Pointer to an array of three DWORDs per triangle of the mesh that contains adjacency information.
pPRep
[out] Pointer to an array of one DWORD per vertex of the mesh that will be filled with point representative data.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be one of the following values.

D3DERR_INVALIDCALL
E_OUTOFMEMORY

Requirements

Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.

See Also

ID3DXBaseMesh::ConvertPointRepsToAdjacency