DXGI_SURFACE_DESC structure (dxgi.h)

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

Requirement Value
Header dxgi.h

See also

DXGI Structures