![]() |
![]() |
![]() |
Generates an output vertex declaration from the input declaration. The output declaration is intended for use by the mesh tessellation functions.
Syntax
HRESULT WINAPI D3DXGenerateOutputDecl(
D3DVERTEXELEMENT9 *pOutput, const D3DVERTEXELEMENT9 *pInput );
Parameters
- pOutput
- [out] Pointer to the output vertex declaration. See D3DVERTEXELEMENT9.
- pInput
- [in] Pointer to the input vertex declaration. See D3DVERTEXELEMENT9.
Return Value
If the function succeeds, the return value is D3D_OK.
If the function fails, the return value can be one of the following values.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.
Function Information
Header d3dx9mesh.h Import library d3dx9.lib Minimum operating systems Windows 98