Edytuj

Udostępnij za pośrednictwem


GraphicsContext Constructors

Definition

Overloads

GraphicsContext(ContextHandle, IWindowInfo)
GraphicsContext(GraphicsMode, IWindowInfo)
GraphicsContext(GraphicsMode, IWindowInfo, Int32, Int32, GraphicsContextFlags)
GraphicsContext(ContextHandle, IWindowInfo, IGraphicsContext, Int32, Int32, GraphicsContextFlags)

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

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

window
IWindowInfo
major
Int32
minor
Int32

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

Applies to