Blt
Expand Minimize

DeleteVertexShaderFunc routine

The DeleteVertexShaderFunc function cleans up driver-side resources that are associated with vertex shader code.

Syntax


PFND3DDDI_DELETEVERTEXSHADERFUNC DeleteVertexShaderFunc;

__checkReturn HRESULT APIENTRY DeleteVertexShaderFunc(
  _In_  HANDLE hDevice,
  _In_  HANDLE hShaderHandle
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

hShaderHandle [in]

A handle to the vertex shader code object.

Return value

DeleteVertexShaderFunc returns S_OK or an appropriate error result if the vertex shader code object is not successfully cleaned up.

Remarks

The DeleteVertexShaderFunc function notifies the driver about the deletion of the vertex shader code object that the CreateVertexShaderFunc function created. The driver can then clean up any driver-side resources that are associated with the vertex shader code.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

CreateVertexShaderFunc
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft