D3DHAL_DP2SETTEXLOD - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dhal.h

typedef struct _D3DHAL_DP2SETTEXLOD {
  DWORD dwDDSurface;
  DWORD dwLOD;
} D3DHAL_DP2SETTEXLOD;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dhal-_d3dhal_dp2settexlod)

_D3DHAL_DP2SETTEXLOD structure

Description

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

Members

dwDDSurface

Specifies a handle to a surface chain.

dwLOD

Controls the maximum MIP level loaded into video memory. Therefore, 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

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

See also

D3DDP2OP_SETTEXLOD

D3dDrawPrimitives2