IDXGIKeyedMutex interface (dxgi.h)
Represents a keyed mutex, which allows exclusive access to a shared resource that is used by multiple devices.
Inheritance
The IDXGIKeyedMutex interface inherits from IDXGIDeviceSubObject. IDXGIKeyedMutex also has these types of members:
Methods
The IDXGIKeyedMutex interface has these methods.
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |