Utilities.CreateGraphicsContext Method
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
CreateGraphicsContext(EAGLRenderingAPI) | |
CreateGraphicsContext(GraphicsMode, IWindowInfo, Int32, Int32, GraphicsContextFlags) |
CreateGraphicsContext(EAGLRenderingAPI)
public static OpenTK.Graphics.IGraphicsContext CreateGraphicsContext (OpenGLES.EAGLRenderingAPI version);
static member CreateGraphicsContext : OpenGLES.EAGLRenderingAPI -> OpenTK.Graphics.IGraphicsContext
Parameters
- version
- EAGLRenderingAPI
Returns
Applies to
CreateGraphicsContext(GraphicsMode, IWindowInfo, Int32, Int32, GraphicsContextFlags)
public static OpenTK.Graphics.IGraphicsContext CreateGraphicsContext (OpenTK.Graphics.GraphicsMode mode, OpenTK.Platform.IWindowInfo window, int major, int minor, OpenTK.Graphics.GraphicsContextFlags flags);
static member CreateGraphicsContext : OpenTK.Graphics.GraphicsMode * OpenTK.Platform.IWindowInfo * int * int * OpenTK.Graphics.GraphicsContextFlags -> OpenTK.Graphics.IGraphicsContext
Parameters
- mode
- GraphicsMode
- window
- IWindowInfo
- major
- Int32
- minor
- Int32
- flags
- GraphicsContextFlags