ID3DXSkinInfo::GetMaxFaceInfluences method
Gets the maximum face influences in a triangle mesh with the specified index buffer.
Syntax
HRESULT GetMaxFaceInfluences(
[in] LPDIRECT3DINDEXBUFFER9 pIB,
[in] DWORD NumFaces,
[in] DWORD *maxFaceInfluences
);
Parameters
-
pIB [in]
-
Type: LPDIRECT3DINDEXBUFFER9
Pointer to the index buffer that contains the mesh index data.
-
NumFaces [in]
-
Type: DWORD
Number of faces in the mesh.
-
maxFaceInfluences [in]
-
Type: DWORD*
Pointer to the maximum face influences.
Return value
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also