Keyed-mutex guard used while sharing a D3D texture.
More...
|
|
bool | _locked = false |
| | Whether the keyed mutex is currently locked.
|
|
keyed_mutex_t | _mutex |
| | D3D keyed mutex acquired for shared-texture access.
|
Keyed-mutex guard used while sharing a D3D texture.
◆ texture_lock_helper() [1/2]
| platf::dxgi::texture_lock_helper::texture_lock_helper |
( |
texture_lock_helper && | other | ) |
|
|
inline |
Move a keyed-mutex lock helper while preserving lock ownership.
- Parameters
-
| other | Helper whose acquired keyed mutex is transferred. |
◆ texture_lock_helper() [2/2]
| platf::dxgi::texture_lock_helper::texture_lock_helper |
( |
IDXGIKeyedMutex * | mutex | ) |
|
|
inlineexplicit |
Explicitly acquire a D3D keyed mutex for scoped texture access.
- Parameters
-
| mutex | Keyed mutex to acquire for texture access. |
◆ lock()
| bool platf::dxgi::texture_lock_helper::lock |
( |
| ) |
|
|
inline |
Acquire the underlying lock or keyed mutex.
- Returns
- True when the keyed mutex is acquired.
◆ operator=()
Assign state from another instance while preserving ownership semantics.
- Parameters
-
| other | Source object whose state is copied or moved into this object. |
- Returns
- Reference or value produced by the operator.
The documentation for this struct was generated from the following file: