Expand Minimize

D3DHAL_GLOBALDRIVERDATA structure

The D3DHAL_GLOBALDRIVERDATA structure specifies the 3D capabilities of the driver and its device.

Syntax


typedef struct _D3DHAL_GLOBALDRIVERDATA {
  DWORD            dwSize;
  D3DDEVICEDESC_V1 hwCaps;
  DWORD            dwNumVertices;
  DWORD            dwNumClipVertices;
  DWORD            dwNumTextureFormats;
  LPDDSURFACEDESC  lpTextureFormats;
} D3DHAL_GLOBALDRIVERDATA, *LPD3DHAL_GLOBALDRIVERDATA;

Members

dwSize

Specifies the size in bytes of this D3DHAL_GLOBALDRIVERDATA structure.

hwCaps

Specifies a D3DDEVICEDESC_V1 structure where the driver should return its hardware capabilities.

dwNumVertices

Reserved for system use and should be set to zero by the driver.

dwNumClipVertices

Reserved for system use and should be set to zero by the driver.

dwNumTextureFormats

Specifies the number of DDSURFACEDESC structures that lpTextureFormats points to.

lpTextureFormats

Points to an array of DDSURFACEDESC structures where the driver should return the texture formats supported by the device.

Remarks

The driver is responsible for allocating space for and setting all members of this structure. The driver returns a pointer to this structure in the lpD3DGlobalDriverData member of the DD_HALINFO structure, which is passed to the driver's DrvGetDirectDrawInfo function during driver initialization.

Requirements

Header

D3dhal.h (include D3dhal.h)

See also

D3DDEVICEDESC_V1
DD_HALINFO
DDSURFACEDESC
DrvGetDirectDrawInfo

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft