PFND3D10DDI_GENMIPS callback function (d3d10umddi.h)
The GenMips function generates the lower MIP-map levels on the specified shader-resource view.
Syntax
PFND3D10DDI_GENMIPS Pfnd3d10ddiGenmips;
void Pfnd3d10ddiGenmips(
D3D10DDI_HDEVICE unnamedParam1,
D3D10DDI_HSHADERRESOURCEVIEW unnamedParam2
)
{...}
Parameters
unnamedParam1
hDevice [in]
A handle to the display device (graphics context).
unnamedParam2
hShaderResourceView [in]
A handle to the MIP-map texture surface.
Return value
None
Remarks
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
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |