Edit

SKGLControl Constructors

Definition

Overloads

Name Description
SKGLControl()

Initializes a new instance of the SKGLControl class.

SKGLControl(GraphicsMode)

Initializes a new instance of the SKGLControl class with the specified graphics mode.

SKGLControl(GraphicsMode, Int32, Int32, GraphicsContextFlags)

Initializes a new instance of the SKGLControl class with the specified graphics mode, OpenGL version, and context flags.

SKGLControl()

Initializes a new instance of the SKGLControl class.

public SKGLControl();

Applies to

SKGLControl(GraphicsMode)

Initializes a new instance of the SKGLControl class with the specified graphics mode.

public SKGLControl(OpenTK.Graphics.GraphicsMode mode);

Parameters

mode
GraphicsMode

The OpenTK graphics mode that defines the color, depth, stencil, and accumulation buffer configuration for the control.

Applies to

SKGLControl(GraphicsMode, Int32, Int32, GraphicsContextFlags)

Initializes a new instance of the SKGLControl class with the specified graphics mode, OpenGL version, and context flags.

public SKGLControl(OpenTK.Graphics.GraphicsMode mode, int major, int minor, OpenTK.Graphics.GraphicsContextFlags flags);

Parameters

mode
GraphicsMode

The OpenTK graphics mode that defines the color, depth, stencil, and accumulation buffer configuration.

major
Int32

The major version number of the OpenGL context to create.

minor
Int32

The minor version number of the OpenGL context to create.

flags
GraphicsContextFlags

A bitwise combination of GraphicsContextFlags values that control context creation.

Applies to