CompositionFrameDisplayInstance structure (presentation.h)

Represents a single instance of the content shown on a single output.

Syntax

typedef struct CompositionFrameDisplayInstance {
  LUID                         displayAdapterLUID;
  UINT                         displayVidPnSourceId;
  UINT                         displayUniqueId;
  LUID                         renderAdapterLUID;
  CompositionFrameInstanceKind instanceKind;
  PresentationTransform        finalTransform;
  boolean                      requiredCrossAdapterCopy;
  DXGI_COLOR_SPACE_TYPE        colorSpace;
} CompositionFrameDisplayInstance;

Members

displayAdapterLUID

displayVidPnSourceId

displayUniqueId

renderAdapterLUID

instanceKind

Type: CompositionFrameInstanceKind

The kind of instance.

finalTransform

Type: PresentationTransform

The accumulated transform on screen of displayed content, including all transforms of ancestor visuals, if applicable.

requiredCrossAdapterCopy

Type: BOOLEAN

TRUE if a copy took place to display this instance due to the destination being a different adapter than the allocation's adapter; otherwise, FALSE.

colorSpace

Type: DXGI_COLOR_SPACE_TYPE

The color space type of the output this instance was shown on.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header presentation.h