프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |