Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The IDARG_IN_RELEASEANDACQUIREBUFFER2 structure contains input arguments for the IddCxSwapChainReleaseAndAcquireBuffer2 function.
Syntax
struct IDARG_IN_RELEASEANDACQUIREBUFFER2 {
UINT Size;
BOOL AcquireSystemMemoryBuffer;
};
Members
Size
[in] Total size of this structure, in bytes.
AcquireSystemMemoryBuffer
[in] Boolean value. When a driver sets this field to TRUE, the OS fills out an IDDCX_SYSTEM_BUFFER_INFO structure in IDDCX_METADATA2. This is equivalent to a pre-1.10 driver calling IddCxSwapChainReleaseAndAcquireSystemBuffer instead of IddCxSwapChainReleaseAndAcquireBuffer.
Remarks
For more information about HDR support, see IddCx version 1.10 updates.
In order to support D3D12, the IDARG_IN_RELEASEANDACQUIREBUFFER2 structure used in calls to IddCxSwapChainReleaseAndAcquireBuffer2 has been extended. Drivers supporting D3D12 that passed an ID3D12Device in a call to IddCxSwapChainSetDevice2 must provide a ID3D12CommandQueue object that's used to read from the swap chain surface. The driver must also pass the extended IDDCX_METADATA2 structure with the IDDCX_METADATA2::Size field set correctly so the OS can set a new valid flag and the new D3D12 surface field.
For more information about D3D12 support, see IddCx version 1.10 updates.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 11, 26H1 (IddCx 1.11) |
| Header | iddcx.h |