CompositionEngine Class

Definition

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
Object Platform::Object IInspectable CompositionEngine
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.

Applies to

See also