Bewerken

Delen via


IDDCX_SYSTEM_BUFFER_INFO structure (iddcx.h)

IDDCX_SYSTEM_BUFFER_INFO holds the resulting buffer-specific information after a buffer release and acquire operation.

Syntax

struct IDDCX_SYSTEM_BUFFER_INFO {
  UINT        Size;
  UINT        Pitch;
  UINT        Height;
  UINT        Width;
  DXGI_FORMAT Format;
  VOID        *pBuffer;
};

Members

Size

Size of this structure, in bytes.

Pitch

The pitch (also called stride) of the surface, in number of bytes.

Height

The height of the surface, in number of pixels.

Width

The width of the surface, in number of pixels.

Format

A DXGI_FORMAT structure that identifies the format of the surface pixel.

pBuffer

Pointer in system memory to the surface buffer. pBuffer must be at least 16-byte aligned.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header iddcx.h

See also

IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER

IddCxSwapChainReleaseAndAcquireSystemBuffer