IDirect3DDevice9::SetVertexDeclaration メソッド
IDirect3DDevice9::SetVertexDeclaration メソッド
頂点シェーダ宣言を設定する。
構文
HRESULT SetVertexDeclaration(
IDirect3DVertexDeclaration9 *pDecl
);
パラメータ
- pDecl
[in] 頂点宣言を含む IDirect3DVertexDeclaration9 オブジェクトへのポインタ。
戻り値
成功した場合は、D3D_OK を返す。
D3DERR_INVALIDCALL を返す場合もある。
参照