Table of Contents

Namespace Avalonia.Rendering.Composition

Classes

BooleanKeyFrameAnimation
ColorKeyFrameAnimation
CompositionContainerVisual

A node in the visual tree that can have children.

CompositionCustomVisual
CompositionCustomVisualHandler
CompositionDrawingSurface
CompositionObject

Base class of the composition API representing a node in the visual tree structure. Composition objects are the visual tree structure on which all other features of the composition API use and build on. The API allows developers to define and create one or many CompositionVisual objects each representing a single node in a Visual tree.

CompositionOptions
CompositionPropertySet

CompositionPropertySets are CompositionObjects that allow storage of key values pairs that can be shared across the application and are not tied to the lifetime of another composition object. CompositionPropertySets are most commonly used with animations, where they maintain key-value pairs that are referenced to drive portions of composition animations. CompositionPropertySets provide the ability to insert key-value pairs or retrieve a value for a given key. CompositionPropertySet does not support a delete function – ensure you use CompositionPropertySet to store values that will be shared across the application.

CompositionSolidColorVisual
CompositionSurface
CompositionSurfaceVisual
CompositionVisual

The base visual object in the composition visual hierarchy.

CompositionVisualCollection

A collection of CompositionVisual objects

Compositor

The Compositor class manages communication between UI-thread and render-thread parts of the composition engine. It also serves as a factory to create UI-thread parts of various composition objects

DoubleKeyFrameAnimation
ElementComposition

Enables access to composition visual objects that back XAML elements in the XAML composition tree.

QuaternionKeyFrameAnimation
ScalarKeyFrameAnimation
Vector2KeyFrameAnimation
Vector3DKeyFrameAnimation
Vector3KeyFrameAnimation
Vector4KeyFrameAnimation
VectorKeyFrameAnimation

Interfaces

ICompositionGpuImportedObject

An imported GPU object that's usable by composition APIs

ICompositionGpuInterop
ICompositionImportableSharedGpuContextImage

An GPU image descriptor obtained from a context from the same share group as one used by the compositor

ICompositionImportableSharedGpuContextObject

An GPU object descriptor obtained from a context from the same share group as one used by the compositor

ICompositionImportableSharedGpuContextSemaphore

An GPU semaphore descriptor obtained from a context from the same share group as one used by the compositor

ICompositionImportedGpuImage

An imported GPU image object that's usable by composition APIs

ICompositionImportedGpuSemaphore

An imported GPU semaphore object that's usable by composition APIs

Enums

CompositionBlendMode
CompositionGetValueStatus
CompositionGpuImportedImageSynchronizationCapabilities
CompositionGradientExtendMode
CompositionStretch
CompositionTileMode