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
A value describing the surface width.

Height
A value describing the surface height.

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

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

Requirements

Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).