d3d_access_try_lock Function

Attempt to acquire the D3D access lock on an accelerator_view without blocking.

bool __cdecl d3d_access_try_lock(
   accelerator_view &_Av
);

Parameters

  • _Av
    The accelerator_view to lock.

Return Value

true if the lock was acquired, or false if it is currently held by another thread.

Requirements

Header: amprt.h

Namespace: concurrency::direct3d

See Also

Reference

Concurrency::direct3d Namespace