Skip to content

Latest commit

 

History

History
86 lines (54 loc) · 1.8 KB

d3dxdeclaratorfromfvf.md

File metadata and controls

86 lines (54 loc) · 1.8 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Returns a declarator from a flexible vertex format (FVF) code.
0272239c-0873-4a5c-b046-541f4ba603f4
D3DXDeclaratorFromFVF function (D3DX9Mesh.h)
reference
05/31/2018
APIRef
kbSyntax
D3DXDeclaratorFromFVF
LibDef
d3dx9.lib
d3dx9.dll

D3DXDeclaratorFromFVF function

Returns a declarator from a flexible vertex format (FVF) code.

Syntax

HRESULT D3DXDeclaratorFromFVF(
  _In_    DWORD             FVF,
  _Inout_ D3DVERTEXELEMENT9 Declaration
);

Parameters

FVF [in]

Type: DWORD

Combination of D3DFVF that describes the FVF from which to generate the returned declarator array.

Declaration [in, out]

Type: D3DVERTEXELEMENT9

An array of D3DVERTEXELEMENT9 elements describing the vertex format of the mesh vertices. The upper limit of this declarator array is MAX_FVF_DECL_SIZE.

Return value

Type: HRESULT

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: D3DXERR_INVALIDMESH.

Requirements

Requirement Value
Header
D3DX9Mesh.h
Library
D3dx9.lib

See also

Mesh Functions

D3DXFVFFromDeclarator