GraphicsContext 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
GraphicsContext(ContextHandle, IWindowInfo)
public GraphicsContext (OpenTK.ContextHandle handle, OpenTK.Platform.IWindowInfo window);
new OpenTK.Graphics.GraphicsContext : OpenTK.ContextHandle * OpenTK.Platform.IWindowInfo -> OpenTK.Graphics.GraphicsContext
Parameters
- handle
- ContextHandle
- window
- IWindowInfo
Applies to
GraphicsContext(GraphicsMode, IWindowInfo)
public GraphicsContext (OpenTK.Graphics.GraphicsMode mode, OpenTK.Platform.IWindowInfo window);
new OpenTK.Graphics.GraphicsContext : OpenTK.Graphics.GraphicsMode * OpenTK.Platform.IWindowInfo -> OpenTK.Graphics.GraphicsContext
Parameters
- mode
- GraphicsMode
- window
- IWindowInfo
Applies to
GraphicsContext(GraphicsMode, IWindowInfo, Int32, Int32, GraphicsContextFlags)
public GraphicsContext (OpenTK.Graphics.GraphicsMode mode, OpenTK.Platform.IWindowInfo window, int major, int minor, OpenTK.Graphics.GraphicsContextFlags flags);
new OpenTK.Graphics.GraphicsContext : OpenTK.Graphics.GraphicsMode * OpenTK.Platform.IWindowInfo * int * int * OpenTK.Graphics.GraphicsContextFlags -> OpenTK.Graphics.GraphicsContext
Parameters
- mode
- GraphicsMode
- window
- IWindowInfo
- major
- Int32
- minor
- Int32
- flags
- GraphicsContextFlags
Applies to
GraphicsContext(ContextHandle, IWindowInfo, IGraphicsContext, Int32, Int32, GraphicsContextFlags)
public GraphicsContext (OpenTK.ContextHandle handle, OpenTK.Platform.IWindowInfo window, OpenTK.Graphics.IGraphicsContext shareContext, int major, int minor, OpenTK.Graphics.GraphicsContextFlags flags);
new OpenTK.Graphics.GraphicsContext : OpenTK.ContextHandle * OpenTK.Platform.IWindowInfo * OpenTK.Graphics.IGraphicsContext * int * int * OpenTK.Graphics.GraphicsContextFlags -> OpenTK.Graphics.GraphicsContext
Parameters
- handle
- ContextHandle
- window
- IWindowInfo
- shareContext
- IGraphicsContext
- major
- Int32
- minor
- Int32
- flags
- GraphicsContextFlags