Enum D2D1FactoryType
Specifies the threading model of the created factory and all of its derived resources.
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public enum D2D1FactoryType
Fields
Name | Description |
---|---|
MultiThreaded | The resulting factory may be invoked from multiple threads. Returned resources use interlocked reference counting and their state is protected. |
SingleThreaded | The resulting factory and derived resources may only be invoked serially. Reference counts on resources are interlocked, however, resource and render target state is not protected from multi-threaded access. |