Show / Hide Table of Contents

Enum ContextProfile

Selects the profile for the context's graphics API. For versions below 3.2 the Any option needs to be used.

Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public enum ContextProfile

Fields

Name Description
Any

Used for unknown OpenGL profile or OpenGL ES.

Compatability

Selects compatability profile. You should only use this if maintaining legacy code.

Core

Selects core profile. All new projects should use this unless they have a good reason not to.

In This Article
Back to top Generated by DocFX