Table of Contents

Enum VideoViewUIEngine

Namespace
VisioForge.Core.Types
Assembly
VisioForge.Core.dll

Specifies the UI framework or rendering technology used by a video view component. This enumeration helps the framework adapt its rendering pipeline to different platforms and UI environments.

public enum VideoViewUIEngine

Fields

WinForms = 0

The video view is rendered using Windows Forms technology.

WPF = 1

The video view is rendered using Windows Presentation Foundation (WPF).

WPF_Native = 2

The video view is rendered using WPF with native interop (HWND).

Avalonia = 3

The video view is rendered using Avalonia UI framework.

Android = 4

The video view is rendered on Android using a standard Android View.

Android_TextureView = 5

The video view is rendered on Android using a TextureView, which offers more flexibility for transformations and animations.

iOS_CG = 6

The video view is rendered on iOS using Core Graphics.

WinUI = 7

The video view is rendered using WinUI (Windows UI Library).

MAUI = 8

The video view is rendered using .NET Multi-platform App UI (MAUI).

Apple_OpenGL = 9

The video view is rendered on Apple platforms using OpenGL.

Apple_Metal = 10

The video view is rendered on Apple platforms using Metal, Apple's low-overhead, high-performance 3D graphics API.

JPEGCallback = 11

The video frames are provided as JPEG images via a callback mechanism.

Android_SurfaceViewManaged = 12

The video view is rendered on Android using a managed SurfaceView.

BufferCallback = 13

The video frames are provided as raw buffers via a callback mechanism, allowing for custom rendering with specified format.

Remarks

The choice of UI engine impacts how video is displayed and integrated into an application's user interface. Some engines are platform-specific (e.g., WinForms, Android, iOS), while others offer cross-platform capabilities (e.g., Avalonia, MAUI). WinForms is the classic Windows desktop UI framework with mature support and wide compatibility. WPF (Windows Presentation Foundation) offers modern XAML-based UI with hardware acceleration, available in standard and native HWND modes. Avalonia provides cross-platform XAML-based UI similar to WPF but running on Windows, Linux, and macOS. Android engines include standard View and TextureView variants, the latter offering better support for animations and transformations. iOS engines support Core Graphics (CG) and OpenGL rendering for optimal performance on Apple devices. MAUI (.NET Multi-platform App UI) enables truly cross-platform applications across Windows, macOS, iOS, and Android with shared UI code. WinUI is the modern UI framework for Windows 10/11 applications. The framework automatically detects and adapts to the UI engine, optimizing rendering paths and resource management accordingly.