Share via


D3DHAL_DP2SETTEXLOD

This structure is used to set the level of detail (LOD) for MIP maps when the D3DDP2OP_SETTEXLOD command is sent to D3dDrawPrimitives2.

typedef struct _D3DHAL_DP2SETTEXLOD {
  DWORD dwDDSurface;
  DWORD dwLOD;
} D3DHAL_DP2SETTEXLOD, *LPD3DHAL_DP2SETTEXLOD;

Members

  • dwDDSurface
    Specifies a handle to a surface chain.
  • dwLOD
    Controls the maximum MIP level loaded into video memory. Hence, if the most detailed MIP map in the chain has dimensions 256x256, setting the maximum level to 2 means that the largest MIP map ever present in video memory has dimensions 64x64.

Remarks

This structure is only used for driver-managed textures. This structure contains a surface handle to the MIP map and the maximum level of detail to set.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.

See Also

D3DDP2OP_SETTEXLOD | D3dDrawPrimitives2 | D3DHAL_XXX Structures

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.