Expand Minimize

GenMips routine

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

Syntax


PFND3D10DDI_GENMIPS GenMips;

VOID APIENTRY GenMips(
  _In_  D3D10DDI_HDEVICE hDevice,
  _In_  D3D10DDI_HSHADERRESOURCEVIEW hShaderResourceView
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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

Version

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

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D10DDI_DEVICEFUNCS
pfnSetErrorCb

 

 

Send comments about this topic to Microsoft

顯示:
© 2014 Microsoft