Table of Contents

Interface IOpenGlTextureSharingRenderInterfaceContextFeature

Namespace
Avalonia.OpenGL
Assembly
Avalonia.OpenGL.dll
public interface IOpenGlTextureSharingRenderInterfaceContextFeature

Properties

CanCreateSharedContext

bool CanCreateSharedContext { get; }

Property Value

bool

Methods

CreateSharedContext(IEnumerable<GlVersion>?)

IGlContext? CreateSharedContext(IEnumerable<GlVersion>? preferredVersions = null)

Parameters

preferredVersions IEnumerable<GlVersion>

Returns

IGlContext

CreateSharedTextureForComposition(IGlContext, PixelSize)

ICompositionImportableOpenGlSharedTexture CreateSharedTextureForComposition(IGlContext context, PixelSize size)

Parameters

context IGlContext
size PixelSize

Returns

ICompositionImportableOpenGlSharedTexture