C# Class OpenTK.Platform.Factory

Mostrar archivo Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
CreateDisplayDeviceDriver ( ) : IDisplayDeviceDriver
CreateGLContext ( ContextHandle handle, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags ) : IGraphicsContext
CreateGLContext ( OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags ) : IGraphicsContext
CreateGamePadDriver ( ) : OpenTK.Input.IGamePadDriver
CreateGetCurrentGraphicsContext ( ) : GraphicsContext.GetCurrentContextDelegate
CreateGraphicsMode ( ) : IGraphicsMode
CreateKeyboardDriver ( ) : OpenTK.Input.IKeyboardDriver2
CreateMouseDriver ( ) : OpenTK.Input.IMouseDriver2
CreateNativeWindow ( int x, int y, int width, int height, string title, OpenTK.Graphics.GraphicsMode mode, GameWindowFlags options, DisplayDevice device ) : INativeWindow
Dispose ( ) : void

Private Methods

Method Description
Dispose ( bool manual ) : void
Factory ( ) : System

Method Details

CreateDisplayDeviceDriver() public method

public CreateDisplayDeviceDriver ( ) : IDisplayDeviceDriver
return IDisplayDeviceDriver

CreateGLContext() public method

public CreateGLContext ( ContextHandle handle, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags ) : IGraphicsContext
handle ContextHandle
window IWindowInfo
shareContext IGraphicsContext
directRendering bool
major int
minor int
flags GraphicsContextFlags
return IGraphicsContext

CreateGLContext() public method

public CreateGLContext ( OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags ) : IGraphicsContext
mode OpenTK.Graphics.GraphicsMode
window IWindowInfo
shareContext IGraphicsContext
directRendering bool
major int
minor int
flags GraphicsContextFlags
return IGraphicsContext

CreateGamePadDriver() public method

public CreateGamePadDriver ( ) : OpenTK.Input.IGamePadDriver
return OpenTK.Input.IGamePadDriver

CreateGetCurrentGraphicsContext() public method

public CreateGetCurrentGraphicsContext ( ) : GraphicsContext.GetCurrentContextDelegate
return GraphicsContext.GetCurrentContextDelegate

CreateGraphicsMode() public method

public CreateGraphicsMode ( ) : IGraphicsMode
return IGraphicsMode

CreateKeyboardDriver() public method

public CreateKeyboardDriver ( ) : OpenTK.Input.IKeyboardDriver2
return OpenTK.Input.IKeyboardDriver2

CreateMouseDriver() public method

public CreateMouseDriver ( ) : OpenTK.Input.IMouseDriver2
return OpenTK.Input.IMouseDriver2

CreateNativeWindow() public method

public CreateNativeWindow ( int x, int y, int width, int height, string title, OpenTK.Graphics.GraphicsMode mode, GameWindowFlags options, DisplayDevice device ) : INativeWindow
x int
y int
width int
height int
title string
mode OpenTK.Graphics.GraphicsMode
options GameWindowFlags
device DisplayDevice
return INativeWindow

Dispose() public method

public Dispose ( ) : void
return void