CompositionCapabilities CompositionCapabilities CompositionCapabilities Class

Definition

Allows ability to check system hardware capabilities in order to gracefully scale effects performantly.

public sealed class CompositionCapabilities : ICompositionCapabilitiespublic sealed class CompositionCapabilities : ICompositionCapabilitiesPublic NotInheritable Class CompositionCapabilities Implements ICompositionCapabilities
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Methods

AreEffectsFast() AreEffectsFast() AreEffectsFast()

Indicates whether fast effects are supported.

public bool AreEffectsFast()public bool AreEffectsFast()Public Function AreEffectsFast() As bool
Returns
bool bool bool

Returns a boolean indicating whether fast effects are supported.

Attributes

AreEffectsSupported() AreEffectsSupported() AreEffectsSupported()

Indicates whether effects are supported.

public bool AreEffectsSupported()public bool AreEffectsSupported()Public Function AreEffectsSupported() As bool
Returns
bool bool bool

Returns a boolean indicating whether effects are supported.

Attributes

GetForCurrentView() GetForCurrentView() GetForCurrentView()

Gets the supported composition capabilities for the current view.

public static CompositionCapabilities GetForCurrentView()public static CompositionCapabilities GetForCurrentView()Public Static Function GetForCurrentView() As CompositionCapabilities
Returns

Returns the supported composition capabilities for the current view.

Attributes

Events

Changed Changed Changed

Event triggered when the supported composition capabilities changes.

public event TypedEventHandler Changedpublic event TypedEventHandler ChangedPublic Event Changed
Attributes

Remarks

This event may be triggered in a variety of scenarios such as when dragging an application from a monitor attached to a GPU of capabilities 9.1 to one of higher level, or when initiating a device driver update.