// d3dhal.h
typedef struct _D3DHAL_DP2GENERATEMIPSUBLEVELS {
DWORD hSurface;
D3DTEXTUREFILTERTYPE Filter;
} D3DHAL_DP2GENERATEMIPSUBLEVELS;
View the official Windows Driver Kit DDI referenceNo description available.
DirectX 9.0 and later versions only.
The D3DHAL_DP2GENERATEMIPSUBLEVELS structure is used to inform the driver to automatically generate the sublevels of a given MIP-map texture using a given filter type.
hSurfaceSpecifies the surface handle used in the generation.
FilterSpecifies the filter type used in the generation.
To generate the sublevels of a MIP-map texture, the driver receives a D3DDP2OP_GENERATEMIPSUBLEVELS command along with a D3DHAL_DP2GENERATEMIPSUBLEVELS structure. For more information about automatically generating the sublevels of MIP-map textures, see Generating Sublevels of MIP Map Textures.
D3DDP2OP_GENERATEMIPSUBLEVELS