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

Namespaces

package  Audio
 
package  Compute
 
package  Graphics
 
package  Input
 
package  Platform
 
package  Properties
 

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...
 
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  Toolkit
 Provides static methods to manage an OpenTK application. 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  GamePadAxis {
  GamePadAxis.Axis0 = 0, GamePadAxis.Axis1, GamePadAxis.Axis2, GamePadAxis.Axis3,
  GamePadAxis.Axis4, GamePadAxis.Axis5, GamePadAxis.Axis6, GamePadAxis.Axis7,
  GamePadAxis.Axis8, GamePadAxis.Axis9, GamePadAxis.LastAxis
}
 
enum  GamePadButton {
  GamePadButton.Button0 = 0, GamePadButton.Button1, GamePadButton.Button2, GamePadButton.Button3,
  GamePadButton.Button4, GamePadButton.Button5, GamePadButton.Button6, GamePadButton.Button7,
  GamePadButton.Button8, GamePadButton.Button9, GamePadButton.Button10, GamePadButton.Button11,
  GamePadButton.Button12, GamePadButton.Button13, GamePadButton.Button14, GamePadButton.Button15,
  GamePadButton.LastButton
}
 
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.

Enumerator
Axis0 

The first axis of the gamepad.

Axis1 

The second axis of the gamepad.

Axis2 

The third axis of the gamepad.

Axis3 

The fourth axis of the gamepad.

Axis4 

The fifth axis of the gamepad.

Axis5 

The sixth axis of the gamepad.

Axis6 

The seventh axis of the gamepad.

Axis7 

The eighth axis of the gamepad.

Axis8 

The ninth axis of the gamepad.

Axis9 

The tenth axis of the gamepad.

LastAxis 

The last axis of the gamepad.

Enumerator
Button0 

The first button of the gamepad.

Button1 

The second button of the gamepad.

Button2 

The third button of the gamepad.

Button3 

The fourth button of the gamepad.

Button4 

The fifth button of the gamepad.

Button5 

The sixth button of the gamepad.

Button6 

The seventh button of the gamepad.

Button7 

The eighth button of the gamepad.

Button8 

The ninth button of the gamepad.

Button9 

The tenth button of the gamepad.

Button10 

The eleventh button of the gamepad.

Button11 

The twelfth button of the gamepad.

Button12 

The thirteenth button of the gamepad.

Button13 

The fourteenth button of the gamepad.

Button14 

The fifteenth button of the gamepad.

Button15 

The sixteenth button of the gamepad.

LastButton 

The last button of the gamepad.

Defines bitwise combianations of GameWindow construction options.

Enumerator
Default 

Indicates default construction options.

Fullscreen 

Indicates that the GameWindow should cover the whole screen.

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.