Skip to content

Does AvaloniaUI support OpenGL ES 3.1+? #16188

Closed Answered by maxkatz6
anose001 asked this question in Q&A
Discussion options

You must be logged in to vote

@anose001 no, you can set values other than 2 or 3, it's a mutable property:

.With(new AngleOptions
{
    GlProfiles = new [] { new GlVersion(GlProfileType.OpenGLES, 3, 1) }
})

Also, does an Avalonia cross-platform app use Direct3D11 as the backing renderer on windows?

Yes, on Windows.
But also, Windows supports WGL (native GL) and Vulkan.

Android, Linux

OpenGL by default, Vulkan is a new option in 11.1.

iOS, macOS

OpenGL in 11.1 by default, Metal in 11.2 (nightly) by default.

Browser

WebGL 2 by default in 11.1

Replies: 1 comment 19 replies

Comment options

You must be logged in to vote
19 replies
@kekekeks
Comment options

@maxkatz6
Comment options

@anose001
Comment options

@maxkatz6
Comment options

Answer selected by anose001
@maxkatz6
Comment options

@anose001
Comment options

@maxkatz6
Comment options

@anose001
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants