_DDIMULTISAMPLEQUALITYLEVELSDATA structure

The DDIMULTISAMPLEQUALITYLEVELSDATA structure describes the number of multiple-sample quality levels for a given render-target format.

Syntax

typedef struct _DDIMULTISAMPLEQUALITYLEVELSDATA {
  D3DDDIFORMAT           Format;
  BOOL                   Flip;
  D3DDDIMULTISAMPLE_TYPE MsType;
  UINT                   QualityLevels;
} DDIMULTISAMPLEQUALITYLEVELSDATA;

Members

Flip

[in] A Boolean value that specifies whether the resolution is flip or bit-block transfer (blt) style. TRUE indicates flip-style resolution; FALSE indicates blt-style resolution.

Format

[in] A D3DDDIFORMAT-typed value that indicates the surface format of the multiple-sampled render target.

MsType

[in] A D3DDDIMULTISAMPLE_TYPE-typed value that indicates the level of full-scene multiple sampling. If the display device supports maskable multiple sampling (that is, more than one sample for a multiple-sample render-target format plus antialias support), the user-mode display driver must provide the number of quality levels for the D3DDDIMULTISAMPLE_NONMASKABLE (1) value.

QualityLevels

[in] The number of multiple-sample quality levels that the user-mode display driver supports for the render-target format that is specified by the Format, bFlip, and MSType members.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See Also

D3DDDIMULTISAMPLE_TYPE

D3DDDICAPS_TYPE

D3DDDIFORMAT

GetCaps

D3DDDIARG_GETCAPS

Send comments about this topic to Microsoft