CompositionCapabilities CompositionCapabilities CompositionCapabilities Class

Definition

Provides the ability to check system hardware capabilities so that Visual Layer Effects may be scaled accordingly. This allows you to ensure that your application's use of rendering-intensive operations is tailored to match the device's capabilities, providing optimum performance and pleasant visual results.

public : sealed class CompositionCapabilities : ICompositionCapabilities
public sealed class CompositionCapabilities : ICompositionCapabilities
Public 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 : Platform::Boolean AreEffectsFast()
public bool AreEffectsFast()
Public Function AreEffectsFast() As bool
Returns
Platform::Boolean bool bool

Returns a boolean indicating whether fast effects are supported.

AreEffectsSupported() AreEffectsSupported() AreEffectsSupported()

Indicates whether effects are supported.

public : Platform::Boolean AreEffectsSupported()
public bool AreEffectsSupported()
Public Function AreEffectsSupported() As bool
Returns
Platform::Boolean bool bool

Returns a boolean indicating whether effects are supported.

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.

Events

Changed Changed Changed

Event triggered when the supported composition capabilities changes.

public : event TypedEventHandler Changed<CompositionCapabilities, object>
public event TypedEventHandler Changed<CompositionCapabilities, object>
Public Event TypedEventHandler Changed( Of ( Of CompositionCapabilities ), ( Of object ))

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.