Bewerken

Delen via


D3DHAL_VALIDATETEXTURESTAGESTATEDATA structure (d3dhal.h)

The D3DHAL_VALIDATETEXTURESTAGESTATEDATA structure contains the information required for the driver to determine and return its ability to support multitexturing using the current state.

Syntax

typedef struct _D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
  ULONG_PTR dwhContext;
  DWORD     dwFlags;
  ULONG_PTR dwReserved;
  DWORD     dwNumPasses;
  HRESULT   ddrval;
} D3DHAL_VALIDATETEXTURESTAGESTATEDATA;

Members

dwhContext

Specifies the context ID of the Direct3D device.

dwFlags

Currently set to zero and should be ignored by the driver.

dwReserved

Reserved for system use and should be ignored by the driver.

dwNumPasses

Specifies the location where the driver should write the number of passes required by the hardware to perform the blending operations.

ddrval

Specifies the location where the driver writes the return value of the D3dValidateTextureStageState function. A return code of D3D_OK indicates success. For more information, see Return Codes for Direct3D Driver Callbacks.

Requirements

Requirement Value
Header d3dhal.h (include D3dhal.h)

See also

D3dValidateTextureStageState