SKGLControl Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SKGLControl() |
Creates a new instance of the SKGLControl view. |
SKGLControl(GraphicsMode) |
Creates a new instance of the SKGLControl view. |
SKGLControl(GraphicsMode, Int32, Int32, GraphicsContextFlags) |
Creates a new instance of the SKGLControl view. |
SKGLControl()
SKGLControl(GraphicsMode)
Creates a new instance of the SKGLControl view.
public SKGLControl (OpenTK.Graphics.GraphicsMode mode);
Parameters
- mode
- GraphicsMode
The OpenTK.Graphics.GraphicsMode of the control.
Applies to
SKGLControl(GraphicsMode, Int32, Int32, GraphicsContextFlags)
Creates a new instance of the SKGLControl view.
public SKGLControl (OpenTK.Graphics.GraphicsMode mode, int major, int minor, OpenTK.Graphics.GraphicsContextFlags flags);
Parameters
- mode
- GraphicsMode
The OpenTK.Graphics.GraphicsMode of the control.
- major
- Int32
The major version for the OpenGL GraphicsContext.
- minor
- Int32
The minor version for the OpenGL GraphicsContext.
- flags
- GraphicsContextFlags
The GraphicsContextFlags for the OpenGL GraphicsContext.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for