Interface IDirect2DMultithread
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
A locking mechanism from a Direct2D factory that Direct2D uses to control exclusive resource access in an app that is uses multiple threads.
ID2D1Multithread
public interface IDirect2DMultithread : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
- Inherited Members
- Extension Methods
Properties
- IsMultithreadProtected
Returns whether the Direct2D factory was created with the Multithreaded option.
Methods
- Enter()
Enters the Direct2D API critical section, if it exists.
- Leave()
Leaves the Direct2D API critical section, if it exists.