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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for