IDDCX_METADATA2_VALID_FLAGS enumeration (iddcx.h)

A IDDCX_METADATA2_VALID_FLAGS enumeration value indicates which fields in an IDDCX_METADATA2 structure have valid content.

Syntax

typedef enum IDDCX_METADATA2_VALID_FLAGS {
  IDDCX_METADATA2_VALID_FLAGS_NONE = 0,
  IDDCX_METADATA2_VALID_FLAGS_SYSTEMBUFFERINFO = 0x1,
  IDDCX_METADATA2_VALID_FLAGS_HDR10METADATA = 0x2
} ;

Constants

 
IDDCX_METADATA2_VALID_FLAGS_NONE
Value: 0
Indicates that none of the optional fields in IDDCX_METADATA2 contain valid data and they should not be referenced.
IDDCX_METADATA2_VALID_FLAGS_SYSTEMBUFFERINFO
Value: 0x1
When set, IDDCX_METADATA2::SystemBufferInfo contains valid data. The OS sets this flag in response to a driver setting IDARG_IN_RELEASEANDACQUIREBUFFER2::AcquireSystemMemoryBuffer to TRUE.
IDDCX_METADATA2_VALID_FLAGS_HDR10METADATA
Value: 0x2
When set, IDDCX_METADATA2::Hdr10FrameMetaData contains valid data.

Remarks

For more information about HDR support, see IddCx version 1.10 updates.

Requirements

Requirement Value
Minimum supported client Windows 11, version 22H2 September Update (IddCx version 1.10)
Header iddcx.h

See also

IDARG_OUT_RELEASEANDACQUIREBUFFER2

IDDCX_METADATA2

IddCxSwapChainReleaseAndAcquireBuffer2