# CompositionMode enumeration

Lists values that specify how the rendered image is combined with the Avalonia compositor.

**Namespace:** [`Eremex.AvaloniaUI.Controls3D`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls3D.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls3D](https://www.nuget.org/packages/Eremex.Avalonia.Controls3D)

## Declaration

```csharp
public enum CompositionMode
```

## Values

| name | value | description |
| --- | --- | --- |
| Default | `0` | Hardware composition is used on Windows and macOS, and software composition on Linux. |
| Hardware | `1` | The rendered image is shared with the Avalonia compositor through GPU interop. |
| Software | `2` | The rendered image is copied to a bitmap that the control draws during its render pass. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls3D](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
