Skip to content

Latest commit

 

History

History
83 lines (65 loc) · 3.29 KB

nf-d3d9helper-idirect3ddevice9-createvertexdeclaration.md

File metadata and controls

83 lines (65 loc) · 3.29 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d9helper.IDirect3DDevice9.CreateVertexDeclaration
IDirect3DDevice9::CreateVertexDeclaration (d3d9helper.h)
The IDirect3DDevice9::CreateVertexDeclaration method (d3d9helper.h) creates a vertex shader declaration from the device and the vertex elements.
CreateVertexDeclaration
CreateVertexDeclaration method [Direct3D 9]
CreateVertexDeclaration method [Direct3D 9]
IDirect3DDevice9 interface
IDirect3DDevice9 interface [Direct3D 9]
CreateVertexDeclaration method
IDirect3DDevice9.CreateVertexDeclaration
IDirect3DDevice9::CreateVertexDeclaration
d3d9helper/IDirect3DDevice9::CreateVertexDeclaration
direct3d9.idirect3ddevice9__createvertexdeclaration
fcad3843-471b-7e52-ff9d-c4cb3cf5da52
direct3d9\idirect3ddevice9__createvertexdeclaration.htm
direct3d9
VS|directx_sdk|~\idirect3ddevice9__createvertexdeclaration.htm
08/11/2022
CreateVertexDeclaration, CreateVertexDeclaration method [Direct3D 9], CreateVertexDeclaration method [Direct3D 9],IDirect3DDevice9 interface, IDirect3DDevice9 interface [Direct3D 9],CreateVertexDeclaration method, IDirect3DDevice9.CreateVertexDeclaration, IDirect3DDevice9::CreateVertexDeclaration, d3d9helper/IDirect3DDevice9::CreateVertexDeclaration, direct3d9.idirect3ddevice9__createvertexdeclaration, fcad3843-471b-7e52-ff9d-c4cb3cf5da52
d3d9helper.h
D3D9.h
Windows
D3D9.lib
Windows
19H1
IDirect3DDevice9::CreateVertexDeclaration
d3d9helper/IDirect3DDevice9::CreateVertexDeclaration
c++
APIRef
kbSyntax
COM
D3D9.lib
D3D9.dll
IDirect3DDevice9.CreateVertexDeclaration

IDirect3DDevice9::CreateVertexDeclaration

-description

Create a vertex shader declaration from the device and the vertex elements.

-parameters

-param pVertexElements [in]

Type: const D3DVERTEXELEMENT9*

An array of D3DVERTEXELEMENT9 vertex elements.

-param ppDecl [out, retval]

Type: IDirect3DVertexDeclaration9**

Pointer to an IDirect3DVertexDeclaration9 pointer that returns the created vertex shader declaration.

-returns

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

-remarks

See the Vertex Declaration (Direct3D 9) page for a detailed description of how to map vertex declarations between different versions of DirectX.

-see-also

IDirect3DDevice9