CompositionCapabilities
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 : ICompositionCapabilitiespublic sealed class CompositionCapabilities : ICompositionCapabilitiesPublic NotInheritable Class CompositionCapabilities Implements ICompositionCapabilities// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Methods
AreEffectsFast() AreEffectsFast() AreEffectsFast() AreEffectsFast()
Indicates whether fast effects are supported.
public : PlatForm::Boolean AreEffectsFast()public bool AreEffectsFast()Public Function AreEffectsFast() As bool// This API is not available in Javascript.
Returns a boolean indicating whether fast effects are supported.
AreEffectsSupported() AreEffectsSupported() AreEffectsSupported() AreEffectsSupported()
Indicates whether effects are supported.
public : PlatForm::Boolean AreEffectsSupported()public bool AreEffectsSupported()Public Function AreEffectsSupported() As bool// This API is not available in Javascript.
Returns a boolean indicating whether effects are supported.
GetForCurrentView() 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// This API is not available in Javascript.
Returns the supported composition capabilities for the current view.
Events
Changed 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 Changed<CompositionCapabilities, object>// This API is not available in Javascript.
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.