Table of Contents

Enum FactoryType

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Specifies whether Direct2D provides synchronization for an IDirect2DFactory and the resources it creates, so that they may be safely accessed from multiple threads.
D2D1_FACTORY_TYPE

public enum FactoryType

Fields

SingleThreaded = 0

No synchronization is provided for accessing or writing to the factory or the objects it creates. If the factory or the objects are called from multiple threads, it is up to the application to provide access locking.

Multithreaded = 1

Direct2D provides synchronization for accessing and writing to the factory and the objects it creates, enabling safe access from multiple threads.