Hardware Dev Center

Expand Minimize

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

Format

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

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.

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_GETCAPS
D3DDDICAPS_TYPE
D3DDDIFORMAT
D3DDDIMULTISAMPLE_TYPE
GetCaps

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft