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

IDirect3DPixelShader9::GetDevice 메서드


장치를 얻어온다.

구문

HRESULT GetDevice(      

    IDirect3DDevice9 **ppDevice );

파라미터

ppDevice
[out, retval] 돌려받는 IDirect3DDevice9 인터페이스의 포인터.

반환값

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

실패했을 경우의 반환값은 다음대로.

D3DERR_INVALIDCALL메서드의 호출이 무효이다. 예를 들어, 메서드의 파라미터에 무효인 값이 설정되어 있는 경우 등이다.




© 2002 Microsoft Corporation. All rights reserved.
↑TOP