Show / Hide Table of Contents

Enum GraphicsContextFlags

Enumerates various flags that affect the creation of new GraphicsContexts.

Namespace: OpenTK.Graphics
Assembly: OpenTK.dll
Syntax
[Flags]
public enum GraphicsContextFlags

Fields

Name Description
Angle

Indicates that this GraphicsContext is targeting OpenGL|ES via Angle and that angle-specific extensions are available.

AngleD3D11

Indicates that this GraphicsContext is targeting OpenGL|ES via Angle and uses Direct3D11 as rendering backend.

AngleD3D9

Indicates that this GraphicsContext is targeting OpenGL|ES via Angle and uses Direct3D9 as rendering backend.

AngleOpenGL

Indicates that this GraphicsContext is targeting OpenGL|ES via Angle and uses OpenGL as rendering backend.

Debug

Indicates that this is a debug GraphicsContext. Debug contexts may provide additional debugging information at the cost of performance.

Default

The default value of the GraphicsContextFlags enumeration.

Embedded

Indicates that this GraphicsContext is targeting OpenGL|ES.

ForwardCompatible

Indicates that this is a forward compatible GraphicsContext. Forward-compatible contexts do not support functionality marked as deprecated in the current GraphicsContextVersion.

Offscreen

Indicates that this GraphicsContext is intended for offscreen rendering.

In This Article
Back to top Generated by DocFX