DXGI_MAPPED_RECT structure (dxgi.h)

Describes a mapped rectangle that is used to access a surface.

Syntax

typedef struct DXGI_MAPPED_RECT {
  INT  Pitch;
  BYTE *pBits;
} DXGI_MAPPED_RECT;

Members

Pitch

Type: INT

A value that describes the width, in bytes, of the surface.

pBits

Type: BYTE*

A pointer to the image buffer of the surface.

Remarks

The DXGI_MAPPED_RECT structure is initialized by the IDXGISurface::Map method.

Requirements

Requirement Value
Header dxgi.h

See also

DXGI Structures