取得頂點著色器宣告。
語法
HRESULT GetVertexDeclaration(
[out] IDirect3DVertexDeclaration9 **ppDecl
);
參數
[out] ppDecl
類型: IDirect3DVertexDeclaration9**
傳回之 IDirect3DVertexDeclaration9 物件的指標。
傳回值
類型: HRESULT
如果方法成功,傳回值會D3D_OK。 傳回值可以D3DERR_INVALIDCALL。
需求
| 目標平台 | Windows |
| 標頭 | d3d9.h (包含 D3D9.h) |
| 程式庫 | D3D9.lib |