Bewerken

Delen via


PFND3DDDI_DELETEVERTEXSHADERDECL callback function (d3dumddi.h)

The DeleteVertexShaderDecl function cleans up driver-side resources that are associated with the vertex shader declaration.

Syntax

PFND3DDDI_DELETEVERTEXSHADERDECL Pfnd3dddiDeletevertexshaderdecl;

HRESULT Pfnd3dddiDeletevertexshaderdecl(
  HANDLE hDevice,
  HANDLE unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

hShaderHandle [in]

A handle to the vertex shader declaration object.

Return value

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

Remarks

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

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

CreateVertexShaderDecl

D3DDDI_DEVICEFUNCS