The Open Toolkit library  1.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Namespaces | Classes | Enumerations
Package OpenTK

Namespaces

package  Audio
 
package  Compute
 
package  Graphics
 
package  Input
 
package  Platform
 

Classes

class  AutoGeneratedAttribute
 Indicates that this function is generated automatically by a tool. More...
 
class  BindingsBase
 Provides a common foundation for all flat API bindings and implements the extension loading interface. More...
 
class  Configuration
 Provides information about the underlying OS and runtime. You must call Toolkit.Init before accessing members of this class. More...
 
struct  ContextHandle
 Represents a handle to an OpenGL or OpenAL context. More...
 
class  DisplayDevice
 Defines a display device on the underlying system, and provides methods to query and change its display parameters. More...
 
class  DisplayResolution
 Contains information regarding a monitor's display resolution. More...
 
class  ContextExistsException
 This exception is thrown when a GraphicsContext property cannot be changed after creation. More...
 
class  FrameEventArgs
 Defines the arguments for frame events. A FrameEventArgs instance is only valid for the duration of the relevant event; do not store references to FrameEventArgs outside this event. More...
 
class  GameWindow
 The GameWindow class contains cross-platform methods to create and render on an OpenGL window, handle input and load resources. More...
 
class  GraphicsException
 Represents errors related to Graphics operations. More...
 
interface  INativeWindow
 Defines the interface for a native window. More...
 
class  KeyPressEventArgs
 Defines the event arguments for KeyPress events. Instances of this class are cached: KeyPressEventArgs should only be used inside the relevant event, unless manually cloned. More...
 
struct  BezierCurve
 Represents a bezier curve with as many points as you want. More...
 
struct  BezierCurveCubic
 Represents a cubic bezier curve with two anchor and two control points. More...
 
struct  BezierCurveQuadric
 Represents a quadric bezier curve with two anchor and one control point. More...
 
struct  Box2
 Defines a 2d box (rectangle). More...
 
struct  Half
 The name Half is derived from half-precision floating-point number. It occupies only 16 bits, which are split into 1 Sign bit, 5 Exponent bits and 10 Mantissa bits. More...
 
struct  Matrix2
 Represents a 2x2 matrix More...
 
struct  Matrix2d
 Represents a 2x2 matrix More...
 
struct  Matrix2x3
 Represents a 2x3 matrix. More...
 
struct  Matrix2x3d
 Represents a 2x3 matrix. More...
 
struct  Matrix2x4
 Represents a 2x4 matrix. More...
 
struct  Matrix2x4d
 Represents a 2x4 matrix. More...
 
struct  Matrix3
 Represents a 3x3 matrix containing 3D rotation and scale. More...
 
struct  Matrix3d
 Represents a 3x3 matrix containing 3D rotation and scale with double-precision components. More...
 
struct  Matrix3x2
 Represents a 3x2 matrix. More...
 
struct  Matrix3x2d
 Represents a 3x2 matrix. More...
 
struct  Matrix3x4
 Represents a 3x4 Matrix More...
 
struct  Matrix3x4d
 Represents a 3x4 Matrix More...
 
struct  Matrix4
 Represents a 4x4 matrix containing 3D rotation, scale, transform, and projection. More...
 
struct  Matrix4d
 Represents a 4x4 matrix containing 3D rotation, scale, transform, and projection with double-precision components. More...
 
struct  Matrix4x2
 Represents a 4x2 matrix. More...
 
struct  Matrix4x2d
 Represents a 4x2 matrix. More...
 
struct  Matrix4x3
 Represents a 3x4 matrix. More...
 
struct  Matrix4x3d
 Represents a 3x4 matrix. More...
 
struct  Quaternion
 Represents a Quaternion. More...
 
struct  Quaterniond
 Represents a double-precision Quaternion. More...
 
struct  Vector2
 Represents a 2D vector using two single-precision floating-point numbers. More...
 
struct  Vector2d
 Represents a 2D vector using two double-precision floating-point numbers. More...
 
struct  Vector2h
 2-component Vector of the Half type. Occupies 4 Byte total. More...
 
struct  Vector3
 Represents a 3D vector using three single-precision floating-point numbers. More...
 
struct  Vector3d
 Represents a 3D vector using three double-precision floating-point numbers. More...
 
struct  Vector3h
 3-component Vector of the Half type. Occupies 6 Byte total. More...
 
struct  Vector4
 Represents a 4D vector using four single-precision floating-point numbers. More...
 
struct  Vector4d
 Represents a 4D vector using four double-precision floating-point numbers. More...
 
struct  Vector4h
 4-component Vector of the Half type. Occupies 8 Byte total. More...
 
class  NativeWindow
 Instances of this class implement the OpenTK.INativeWindow interface on the current platform. More...
 
class  PlatformException
 Defines a plaftorm specific exception. More...
 
class  SlotAttribute
 Defines the slot index for a wrapper function. This type supports OpenTK and should not be used in user code. More...
 
class  Toolkit
 Provides static methods to manage an OpenTK application. More...
 
class  ToolkitOptions
 Contains configuration options for OpenTK. Toolkit.Init(ToolkitOptions) More...
 
class  GLControl
 OpenGL-aware WinForms control. The WinForms designer will always call the default constructor. Inherit from this class and call one of its specialized constructors to enable antialiasing or custom GraphicsModes. More...
 

Enumerations

enum  DisplayIndex {
  DisplayIndex.First = 0, DisplayIndex.Second, DisplayIndex.Third, DisplayIndex.Fourth,
  DisplayIndex.Fifth, DisplayIndex.Sixth, DisplayIndex.Primary = -1, DisplayIndex.Default = Primary
}
 Defines DisplayDevice indices. More...
 
enum  VSyncMode { VSyncMode.Off = 0, VSyncMode.On, VSyncMode.Adaptive }
 Enumerates available VSync modes. More...
 
enum  GameWindowFlags { GameWindowFlags.Default = 0, GameWindowFlags.Fullscreen = 1 }
 Defines bitwise combianations of GameWindow construction options. More...
 
enum  PlatformBackend { PlatformBackend.Default = 0, PlatformBackend.PreferNative, PlatformBackend.PreferX11 }
 Enumerates options regarding OpenTK.Platform implementations. More...
 
enum  WindowBorder { WindowBorder.Resizable = 0, WindowBorder.Fixed, WindowBorder.Hidden }
 Enumerates available window borders. More...
 
enum  WindowState { WindowState.Normal = 0, WindowState.Minimized, WindowState.Maximized, WindowState.Fullscreen }
 Enumerates available window states. More...
 

Enumeration Type Documentation

Defines DisplayDevice indices.

Enumerator
First 

The first DisplayDevice.

Second 

The second DisplayDevice.

Third 

The third DisplayDevice.

Fourth 

The fourth DisplayDevice.

Fifth 

The fifth DisplayDevice.

Sixth 

The sixth DisplayDevice.

Primary 

The default (primary) DisplayDevice.

Default 

The default (primary) DisplayDevice.

Defines bitwise combianations of GameWindow construction options.

Enumerator
Default 

Indicates default construction options.

Fullscreen 

Indicates that the GameWindow should cover the whole screen.

Enumerates options regarding OpenTK.Platform implementations.

Enumerator
Default 

Select the optimal OpenTK.Platform implementation for the current operating system. This is the default option.

PreferNative 

Prefer native OpenTK.Platform implementations. Platform abstractions such as SDL will not be considered, even if available. Use this if you need support for multiple mice or keyboards.

PreferX11 

Prefer an X11 OpenTK.Platform implementation, even if a different implementation is available. This option allows you to use X11 on Windows or Mac OS X when an X11 server is installed.

Enumerates available VSync modes.

Enumerator
Off 

Vsync disabled.

On 

VSync enabled.

Adaptive 

VSync enabled, unless framerate falls below one half of target framerate. If no target framerate is specified, this behaves exactly like VSyncMode.On.

Enumerates available window borders.

Enumerator
Resizable 

The window has a resizable border. A window with a resizable border can be resized by the user or programmatically.

Fixed 

The window has a fixed border. A window with a fixed border can only be resized programmatically.

Hidden 

The window does not have a border. A window with a hidden border can only be resized programmatically.

Enumerates available window states.

Enumerator
Normal 

The window is in its normal state.

Minimized 

The window is minimized to the taskbar (also known as 'iconified').

Maximized 

The window covers the whole working area, which includes the desktop but not the taskbar and/or panels.

Fullscreen 

The window covers the whole screen, including all taskbars and/or panels.