This document is archived and information here might be outdated. Recommended version. |
Get count of vertices in patch.
[Visual Basic .NET]
Public Function get_PatchVertexCount ( _
ByVal patch As Integer _
) As Integer
[C#]
public int get_PatchVertexCount (
int patch
);
[C++]
HRESULT get_PatchVertexCount(
long patch,
System.Int32* pCount
);
[C++] Parameters patch [in]
patch is a parameter of type long pCount [out, retval]
pCount is a parameter of type long*
Returns the total number of geometry vertices in the Patch located at the specified index.
The index specified refers to the index within the list of geometry vertices. This is different than the index used to specify texture vertices.