Partager via


IDirect3DDevice8::GetVertexShader

This method retrieves the currently set vertex shader.

HRESULT GetVertexShader(
  DWORD* pHandle
);

Parameters

  • pHandle
    [out, retval] Pointer to a vertex shader handle, representing the returned vertex shader.

Return Values

If the method succeeds, the return value is D3D_OK.

D3DERR_INVALIDCALL is returned if pHandle is invalid.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8.h.
Link Library: D3d8.lib.

See Also

IDirect3DDevice8::SetVertexShader | IDirect3DDevice8

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.