Show / Hide Table of Contents

Enum ToolkitFlags

Flags for optional features.

Namespace: OpenTK.Platform
Assembly: OpenTK.Platform.dll
Syntax
[Flags]
public enum ToolkitFlags

Fields

Name Description
EnableOpenGL

If OpenGL should be initialized. Without this flag accessing OpenGL will result in an error.

EnableVulkan

If Vulkan should be initialized. Without this flag accessing Vulkan will result in an error.

None

No flags are enabled.

PreferANGLE

If OpenGL should perfer the ANGLE EGL component implementation ANGLEOpenGLComponent. This allows for the creation of OpenGL ES contexts.

In this article
Back to top Generated by DocFX