Microsoft DirectX 8.1 (C++)

ID3DXSkinMesh::GetDevice

Retrieves the device associated with the skin mesh.

HRESULT GetDevice(
  LPDIRECT3DDEVICE8* ppDevice

Parameters

ppDevice
[out, retval] Address of a pointer to an IDirect3DDevice8 interface, representing the Microsoft® Direct3D® device object associated with the skin mesh.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

  Header: Declared in d3dx8mesh.h.
  Import Library: Use d3dx8.lib.