DirectX SDK |
The D3DTEXTUREMAGFILTER enumerated type defines texture-magnification filtering modes for a texture stage.
typedef enum _D3DTEXTUREMAGFILTER { D3DTFG_POINT = 1, D3DTFG_LINEAR = 2, D3DTFG_FLATCUBIC = 3, D3DTFG_GAUSSIANCUBIC= 4, D3DTFG_ANISOTROPIC = 5, D3DTFG_FORCE_DWORD = 0x7fffffff, } D3DTEXTUREMAGFILTER;
Set a texture stage's magnification filter by calling the IDirect3DDevice7::SetTextureStageState method with the D3DTSS_MAGFILTER value as the second parameter and one of the members of this enumeration as the third parameter.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Version: Requires DirectX 6.0 or later.
Header: Declared in d3dtypes.h.