D3D11DDI_3DPIPELINESUPPORT_CAPS structure (d3d10umddi.h)

The D3D11DDI_3DPIPELINESUPPORT_CAPS structure contains display device pipeline capabilities.

Syntax

typedef struct D3D11DDI_3DPIPELINESUPPORT_CAPS {
  [in] UINT Caps;
} D3D11DDI_3DPIPELINESUPPORT_CAPS;

Members

[in] Caps

A value that identifies the pipeline capabilities of the driver.

Remarks

The driver uses the one of the values from the D3D11DDI_3DPIPELINELEVEL enumeration and the following macro to encode the 3-D pipeline level:

#define D3D11DDI_ENCODE_3DPIPELINESUPPORT_CAP( Level ) (0x1 << Level)

The driver then uses the macro's result in the Caps member of the D3D11DDI_3DPIPELINESUPPORT_CAPS structure to provide information to the Direct3D runtime when the runtime calls the driver's GetCaps(D3D10_2) function with the Type member of D3D10_2DDIARG_GETCAPS set to D3D11DDICAPS_3DPIPELINESUPPORT.

The driver uses the following constant and macros to extract one of the values from the D3D11DDI_3DPIPELINELEVEL enumeration that represents the 3-D pipeline level to set for a display device. The driver extracts the value from the Caps member of the D3D11DDI_3DPIPELINESUPPORT_CAPS structure. The driver uses the 3-D pipeline level to create the appropriate display device when the driver receives a call to its CreateDevice(D3D10) function.

#define D3D11DDI_CREATEDEVICE_FLAG_3DPIPELINESUPPORT_SHIFT (0x1)
#define D3D11DDI_CREATEDEVICE_FLAG_3DPIPELINESUPPORT_MASK (0x7 << D3D11DDI_CREATEDEVICE_FLAG_3DPIPELINESUPPORT_SHIFT)
#define D3D11DDI_EXTRACT_3DPIPELINELEVEL_FROM_FLAGS( Flags ) \
    ((D3D11DDI_3DPIPELINELEVEL)(((Flags) & D3D11DDI_CREATEDEVICE_FLAG_3DPIPELINESUPPORT_MASK) >> \
    D3D11DDI_CREATEDEVICE_FLAG_3DPIPELINESUPPORT_SHIFT))

For more information about the Direct3D version 10 pipeline, see Rendering Pipeline.

For more information about the Direct3D version 11 pipelines, see Pipelines for Direct3D Version 11.

Requirements

Requirement Value
Minimum supported client D3D11DDI_3DPIPELINESUPPORT_CAPS is supported beginning with the Windows 7 operating system.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateDevice(D3D10)

D3D10_2DDICAPS_TYPE

D3D11DDI_3DPIPELINELEVEL

GetCaps(D3D10_2)