DevIL Documentation Home | Previous | Next

ilutD3D8MipFunc

The ilutD3D8MipFunc specifies what number of mipmaps to generate with Direct3D 8.


ILvoid ilutD3D8MipFunc(
  ILuint NumLevels
);


Parameters

NumLevels
Number of mipmap levels.

Remarks

ilutD3D8MipFunc tells DevIL what number of mipmap levels to call IDirect3DDevice8_CreateTexture with. For more information on what exactly this means, please look at the Direct3D documentation. It is preferred that you use ilutSetInteger with ILUT_D3D_MIPLEVELS, though.

Error Codes

None

See Also

ilutD3D8Texture, ilutD3D8TexFromFile, ilutD3D8TexFromFileInMemory, ilutD3D8TexFromFileHandle, ilutD3D8TexFromResource