DirectX Graphics 레퍼런스 이펙트 레퍼런스 인터페이스 ID3DXBaseEffect GetTexture   [목차열람] [주소복사] [슬롯비우기]
ID3DXBaseEffect::GetTexture 메서드
 
Microsoft DirectX 9.0

ID3DXBaseEffect::GetTexture 메서드


텍스처를 얻어온다.

구문

HRESULT GetTexture(      

    D3DXHANDLE hParameter,     LPDIRECT3DBASETEXTURE9* ppTexture );

파라미터

hParameter
[in] 일의의 식별자. 「핸들」을 참조할것.
ppTexture
[out] 텍스처 개체를 돌려준다. 「IDirect3DBaseTexture9 」를 참조할것.

반환값

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

실패했을 경우는,D3DERR_INVALIDCALL 를 돌려준다.



참조

ID3DXBaseEffect::SetTexture


© 2002 Microsoft Corporation. All rights reserved.
↑TOP