C# Class OpenTK.Platform.Factory2

Inheritance: IPlatformFactory
Datei anzeigen Open project: prepare/HTML-Renderer 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 ( GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags ) : IGraphicsContext
CreateGetCurrentGraphicsContext ( ) : GraphicsContext.GetCurrentContextDelegate
CreateGraphicsMode ( ) : IGraphicsMode
CreateKeyboardDriver ( ) : OpenTK.Input.IKeyboardDriver
CreateNativeWindow ( int x, int y, int width, int height, string title, GraphicsMode mode, GameWindowFlags options, DisplayDevice device ) : INativeWindow

Private Methods

Method Description
Factory2 ( ) : 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 ( GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags ) : IGraphicsContext
mode GraphicsMode
window IWindowInfo
shareContext IGraphicsContext
directRendering bool
major int
minor int
flags GraphicsContextFlags
return IGraphicsContext

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.IKeyboardDriver
return OpenTK.Input.IKeyboardDriver

CreateNativeWindow() public method

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