Edytuj

Udostępnij za pośrednictwem


Utilities.CreateGraphicsContext Method

Definition

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

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

window
IWindowInfo
major
Int32
minor
Int32

Returns

Applies to