CompositionEngine Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides static methods for selecting and retrieving composition engines. This is an unstable Limited Access Feature (LAF) that allows apps to opt into using the OS as the engine for the Composition APIs, rather than the default in-process engine.
public ref class CompositionEngine abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompositionEngine final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class CompositionEngine
Public Class CompositionEngine
- Inheritance
- Attributes
Remarks
The CompositionEngine API is a Limited Access Feature. For more information, see LimitedAccessFeatures class.
Methods
| Name | Description |
|---|---|
| GetForInProcessEngine(Object) |
Gets the in-process engine equivalent of the specified composition object. |
| GetForSystemEngine(Object) |
Gets the system engine equivalent of the specified composition object. |
| TrySetProcessEngine(CompositionEngineType) |
Attempts to set the composition engine type for the current process. |