Skip to main content

EglDisplay Class

Definition

Assembly:Avalonia.OpenGL
Package:Avalonia
public class EglDisplay

Inheritance: object -> EglDisplay

Implements: IDisposable

Constructors

NameDescription
EglDisplay (3 overloads)No summary available.

EglDisplay overloads

EglDisplay Constructor

public EglDisplay()

EglDisplay Constructor

public EglDisplay(Avalonia.OpenGL.Egl.EglDisplayCreationOptions options)
Parameters

options Avalonia.OpenGL.Egl.EglDisplayCreationOptions

EglDisplay Constructor

public EglDisplay(IntPtr display, Avalonia.OpenGL.Egl.EglDisplayOptions options)
Parameters

display IntPtr

options Avalonia.OpenGL.Egl.EglDisplayOptions

Methods

NameDescription
CreateContextNo summary available.
CreatePBufferFromClientBuffer (2 overloads)No summary available.
CreateWindowSurfaceNo summary available.
DisposeNo summary available.
LockNo summary available.

CreateContext Method

public Avalonia.OpenGL.Egl.EglContext CreateContext(Avalonia.OpenGL.Egl.EglContextOptions options)

Parameters

options Avalonia.OpenGL.Egl.EglContextOptions

Returns

Avalonia.OpenGL.Egl.EglContext

CreatePBufferFromClientBuffer overloads

CreatePBufferFromClientBuffer Method

public Avalonia.OpenGL.Egl.EglSurface CreatePBufferFromClientBuffer(int bufferType, IntPtr handle, int* attribs)
Parameters

bufferType int

handle IntPtr

attribs int*

Returns

Avalonia.OpenGL.Egl.EglSurface

CreatePBufferFromClientBuffer Method

public Avalonia.OpenGL.Egl.EglSurface CreatePBufferFromClientBuffer(int bufferType, IntPtr handle, int[] attribs)
Parameters

bufferType int

handle IntPtr

attribs int[]

Returns

Avalonia.OpenGL.Egl.EglSurface

CreateWindowSurface Method

public Avalonia.OpenGL.Egl.EglSurface CreateWindowSurface(IntPtr window)

Parameters

window IntPtr

Returns

Avalonia.OpenGL.Egl.EglSurface

Dispose Method

public void Dispose()

Lock Method

public IDisposable Lock()

Returns

IDisposable

Properties

NameDescription
ConfigNo summary available.
EglInterfaceNo summary available.
HandleNo summary available.
IsLostNo summary available.
SupportsSharingNo summary available.

Config Property

public IntPtr Config { get; set; }

EglInterface Property

public Avalonia.OpenGL.Egl.EglInterface EglInterface { get; set; }

Handle Property

public IntPtr Handle { get; set; }

IsLost Property

public bool IsLost { get; set; }

SupportsSharing Property

public bool SupportsSharing { get; set; }