// d3dumddi.h
PFND3DDDI_GENERATEMIPSUBLEVELS Pfnd3dddiGeneratemipsublevels;
HRESULT Pfnd3dddiGeneratemipsublevels(
HANDLE hDevice,
const D3DDDIARG_GENERATEMIPSUBLEVELS *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The GenerateMipSubLevels function regenerates the sublevels of a MIP-map texture.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_GENERATEMIPSUBLEVELS structure that describes how to generate the sublevels of a MIP-map texture.
GenerateMipSubLevels returns S_OK or an appropriate error result if the sublevels of a MIP-map texture are not successfully generated.
After the user-mode display driver performs an operation that accesses only the top level of a MIP-map texture, the Microsoft Direct3D runtime calls the driver's GenerateMipSubLevels function to notify the driver to automatically regenerate the sublevels of the MIP-map texture by using a specific filter type.
D3DDDIARG_GENERATEMIPSUBLEVELS