Microsoft DirectX 8.1 (C++)

IDirect3DDevice8::GetVertexShader

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

  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.

See Also

IDirect3DDevice8::SetVertexShader