PFND3D10DDI_GENMIPS callback function

The GenMips function generates the lower MIP-map levels on the specified shader-resource view.

Syntax

PFND3D10DDI_GENMIPS Pfnd3d10ddiGenmips;

void Pfnd3d10ddiGenmips(
  D3D10DDI_HDEVICE Arg1,
  D3D10DDI_HSHADERRESOURCEVIEW Arg2
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

hShaderResourceView [in]

A handle to the MIP-map texture surface.

Return Value

None

The driver can use the pfnSetErrorCb callback function to set an error code. The driver can set E_FAIL if the base resource was not created with the appropriate flags or can set E_INVALIDARG if the MIP type was incorrectly specified.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

D3D10DDI_DEVICEFUNCS

pfnSetErrorCb