IDXGIKeyedMutex interface

Represents a keyed mutex, which allows exclusive access to a shared resource that is used by multiple devices.

Methods

The IDXGIKeyedMutex interface has these methods.

Method Description
IDXGIKeyedMutex::AcquireSync Using a key, acquires exclusive rendering access to a shared resource.
IDXGIKeyedMutex::ReleaseSync Using a key, releases exclusive rendering access to a shared resource.

Remarks

The IDXGIFactory1 is required to create a resource capable of supporting the IDXGIKeyedMutex interface.

An IDXGIKeyedMutex should be retrieved for each device sharing a resource. In Direct3D 10.1, such a resource that is shared between two or more devices is created with the D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX flag. In Direct3D 11, such a resource that is shared between two or more devices is created with the D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX flag.

For information about creating a keyed mutex, see the IDXGIKeyedMutex::AcquireSync method.

Requirements

   
Target Platform Windows
Header dxgi.h

See Also

DXGI Interfaces

IDXGIDeviceSubObject