Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GenerateMipSubLevels function regenerates the sublevels of a MIP-map texture.
Syntax
PFND3DDDI_GENERATEMIPSUBLEVELS Pfnd3dddiGeneratemipsublevels;
HRESULT Pfnd3dddiGeneratemipsublevels(
HANDLE hDevice,
const D3DDDIARG_GENERATEMIPSUBLEVELS *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
pData [in]
A pointer to a D3DDDIARG_GENERATEMIPSUBLEVELS structure that describes how to generate the sublevels of a MIP-map texture.
Return value
GenerateMipSubLevels returns S_OK or an appropriate error result if the sublevels of a MIP-map texture are not successfully generated.
Remarks
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.
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) |