Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DXGI_SURFACE_DESC structure

Describes a surface.

Syntax


typedef struct DXGI_SURFACE_DESC {
  UINT             Width;
  UINT             Height;
  DXGI_FORMAT      Format;
  DXGI_SAMPLE_DESC SampleDesc;
} DXGI_SURFACE_DESC;

Members

Width

Type: UINT

A value describing the surface width.

Height

Type: UINT

A value describing the surface height.

Format

Type: DXGI_FORMAT

A member of the DXGI_FORMAT enumerated type that describes the surface format.

SampleDesc

Type: DXGI_SAMPLE_DESC

A member of the DXGI_SAMPLE_DESC structure that describes multi-sampling parameters for the surface.

Remarks

This structure is used by the GetDesc and CreateSurface methods.

Requirements

Header

DXGI.h

See also

DXGI Structures

 

 

Show:
© 2017 Microsoft