IDirect3DDevice9::SetVertexDeclaration メソッド

IDirect3DDevice9::SetVertexDeclaration メソッド

頂点シェーダ宣言を設定する。

構文

HRESULT SetVertexDeclaration(      
    IDirect3DVertexDeclaration9 *pDecl
);

パラメータ

戻り値

成功した場合は、D3D_OK を返す。

D3DERR_INVALIDCALL を返す場合もある。

参照

IDirect3DDevice9::GetVertexDeclaration