Свойство | Тип | Описание | |
---|---|---|---|
CreateGraphicsContext | IGraphicsContext | ||
LoadExtensions | void | ||
TryLoadExtension | bool |
Метод | Описание | |
---|---|---|
CreateDummyWindowInfo ( ) : IWindowInfo |
Creates an IWindowInfo instance for the dummy platform.
|
|
CreateMacOSCarbonWindowInfo ( |
Creates an IWindowInfo instance for the Mac OS X platform.
|
|
CreateSdl2WindowInfo ( |
Creates an IWindowInfo instance for the windows platform.
|
|
CreateWindowsWindowInfo ( |
Creates an IWindowInfo instance for the windows platform.
|
|
CreateX11WindowInfo ( |
Constructs a new IWindowInfo instance for the X11 platform.
|
Метод | Описание | |
---|---|---|
CreateGraphicsContext ( OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, int major, int minor, GraphicsContextFlags flags ) : IGraphicsContext | ||
LoadExtensions ( |
Loads all extensions for the specified class. This function is intended for OpenGL, Wgl, Glx, OpenAL etc. The Type must contain a nested class called "Delegates". The Type must also implement a static function called LoadDelegate with the following signature: This function allocates memory. |
|
TryLoadExtension ( |
Loads the specified extension for the specified class. This function is intended for OpenGL, Wgl, Glx, OpenAL etc. The Type must contain a nested class called "Delegates". The Type must also implement a static function called LoadDelegate with the following signature: This function allocates memory. |
public static CreateDummyWindowInfo ( ) : IWindowInfo | ||
Результат | IWindowInfo |
public static CreateMacOSCarbonWindowInfo ( |
||
windowHandle | The handle of the window. | |
ownHandle | bool | Ignored. This is reserved for future use. |
isControl | bool | Set to true if windowHandle corresponds to a System.Windows.Forms control. |
Результат | IWindowInfo |
public static CreateSdl2WindowInfo ( |
||
windowHandle | The handle of the window. | |
Результат | IWindowInfo |
public static CreateWindowsWindowInfo ( |
||
windowHandle | The handle of the window. | |
Результат | IWindowInfo |
public static CreateX11WindowInfo ( |
||
display | The display connection. | |
screen | int | The screen. |
windowHandle | The handle for the window. | |
rootWindow | The root window for screen. | |
visualInfo | A pointer to a XVisualInfo structure obtained through XGetVisualInfo. | |
Результат | IWindowInfo |