DirectX Graphics 레퍼런스 Direct3D C/C++ 레퍼런스 인터페이스 IDirect3DDevice9 SetVertexDeclaration   [목차열람] [주소복사] [슬롯비우기]
IDirect3DDevice9::SetVertexDeclaration 메서드
 
Microsoft DirectX 9.0

IDirect3DDevice9::SetVertexDeclaration 메서드


정점 셰이더 선언을 설정한다.

구문

HRESULT SetVertexDeclaration(      

    IDirect3DVertexDeclaration9 *pDecl );

파라미터

pDecl
[in] 정점 선언을 포함한 IDirect3DVertexDeclaration9 개체의 포인터.

반환값

성공했을 경우는,D3D_OK 를 돌려준다.

D3DERR_INVALIDCALL 를 돌려주는 경우도 있다.



참조

IDirect3DDevice9::GetVertexDeclaration


© 2002 Microsoft Corporation. All rights reserved.
↑TOP