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

Typedefs

using Window = System.IntPtr
 
using Drawable = System.IntPtr
 
using Font = System.IntPtr
 
using Pixmap = System.IntPtr
 
using Cursor = System.IntPtr
 
using Colormap = System.IntPtr
 
using GContext = System.IntPtr
 
using KeySym = System.IntPtr
 
using Mask = System.IntPtr
 
using Atom = System.IntPtr
 
using VisualID = System.IntPtr
 
using Time = System.IntPtr
 
using KeyCode = System.Byte
 
using Display = System.IntPtr
 
using XPointer = System.IntPtr
 
using Bool = System.Boolean
 
using XRRScreenConfiguration = System.IntPtr
 
using Rotation = System.UInt16
 
using Status = System.Int32
 
using SizeID = System.UInt16
 

Enumerations

enum  XVisualClass : int {
  StaticGray = 0, GrayScale = 1, StaticColor = 2, PseudoColor = 3,
  TrueColor = 4, DirectColor = 5
}
 
enum  EventMode {
  AsyncPointer = 0, SyncPointer, ReplayPointer, AsyncKeyboard,
  SyncKeyboard, ReplayKeyboard, AsyncBoth, SyncBoth
}
 
enum  GLXAttribute : int {
  TRANSPARENT_BLUE_VALUE_EXT = 0x27, GRAY_SCALE = 0x8006, RGBA_TYPE = 0x8014, TRANSPARENT_RGB_EXT = 0x8008,
  ACCUM_BLUE_SIZE = 16, SHARE_CONTEXT_EXT = 0x800A, STEREO = 6, ALPHA_SIZE = 11,
  FLOAT_COMPONENTS_NV = 0x20B0, NONE = 0x8000, DEPTH_SIZE = 12, TRANSPARENT_INDEX_VALUE_EXT = 0x24,
  MAX_PBUFFER_WIDTH_SGIX = 0x8016, GREEN_SIZE = 9, X_RENDERABLE_SGIX = 0x8012, LARGEST_PBUFFER = 0x801C,
  DONT_CARE = unchecked((int)0xFFFFFFFF), TRANSPARENT_ALPHA_VALUE_EXT = 0x28, PSEUDO_COLOR_EXT = 0x8004, USE_GL = 1,
  SAMPLE_BUFFERS_SGIS = 100000, TRANSPARENT_GREEN_VALUE_EXT = 0x26, HYPERPIPE_ID_SGIX = 0x8030, COLOR_INDEX_TYPE_SGIX = 0x8015,
  SLOW_CONFIG = 0x8001, PRESERVED_CONTENTS = 0x801B, ACCUM_RED_SIZE = 14, EVENT_MASK = 0x801F,
  VISUAL_ID_EXT = 0x800B, EVENT_MASK_SGIX = 0x801F, SLOW_VISUAL_EXT = 0x8001, TRANSPARENT_GREEN_VALUE = 0x26,
  MAX_PBUFFER_WIDTH = 0x8016, DIRECT_COLOR_EXT = 0x8003, VISUAL_ID = 0x800B, ACCUM_GREEN_SIZE = 15,
  DRAWABLE_TYPE_SGIX = 0x8010, SCREEN_EXT = 0x800C, SAMPLES = 100001, HEIGHT = 0x801E,
  TRANSPARENT_INDEX_VALUE = 0x24, SAMPLE_BUFFERS_ARB = 100000, PBUFFER = 0x8023, RGBA_TYPE_SGIX = 0x8014,
  MAX_PBUFFER_HEIGHT = 0x8017, FBCONFIG_ID_SGIX = 0x8013, DRAWABLE_TYPE = 0x8010, SCREEN = 0x800C,
  RED_SIZE = 8, VISUAL_SELECT_GROUP_SGIX = 0x8028, VISUAL_CAVEAT_EXT = 0x20, PSEUDO_COLOR = 0x8004,
  PBUFFER_HEIGHT = 0x8040, STATIC_GRAY = 0x8007, PRESERVED_CONTENTS_SGIX = 0x801B, RGBA_FLOAT_TYPE_ARB = 0x20B9,
  TRANSPARENT_RED_VALUE = 0x25, TRANSPARENT_ALPHA_VALUE = 0x28, WINDOW = 0x8022, X_RENDERABLE = 0x8012,
  STENCIL_SIZE = 13, TRANSPARENT_RGB = 0x8008, LARGEST_PBUFFER_SGIX = 0x801C, STATIC_GRAY_EXT = 0x8007,
  TRANSPARENT_BLUE_VALUE = 0x27, DIGITAL_MEDIA_PBUFFER_SGIX = 0x8024, BLENDED_RGBA_SGIS = 0x8025, NON_CONFORMANT_VISUAL_EXT = 0x800D,
  COLOR_INDEX_TYPE = 0x8015, TRANSPARENT_RED_VALUE_EXT = 0x25, GRAY_SCALE_EXT = 0x8006, WINDOW_SGIX = 0x8022,
  X_VISUAL_TYPE = 0x22, MAX_PBUFFER_HEIGHT_SGIX = 0x8017, DOUBLEBUFFER = 5, OPTIMAL_PBUFFER_WIDTH_SGIX = 0x8019,
  X_VISUAL_TYPE_EXT = 0x22, WIDTH_SGIX = 0x801D, STATIC_COLOR_EXT = 0x8005, BUFFER_SIZE = 2,
  DIRECT_COLOR = 0x8003, MAX_PBUFFER_PIXELS = 0x8018, NONE_EXT = 0x8000, HEIGHT_SGIX = 0x801E,
  RENDER_TYPE = 0x8011, FBCONFIG_ID = 0x8013, TRANSPARENT_INDEX_EXT = 0x8009, TRANSPARENT_INDEX = 0x8009,
  TRANSPARENT_TYPE_EXT = 0x23, ACCUM_ALPHA_SIZE = 17, PBUFFER_SGIX = 0x8023, MAX_PBUFFER_PIXELS_SGIX = 0x8018,
  OPTIMAL_PBUFFER_HEIGHT_SGIX = 0x801A, DAMAGED = 0x8020, SAVED_SGIX = 0x8021, TRANSPARENT_TYPE = 0x23,
  MULTISAMPLE_SUB_RECT_WIDTH_SGIS = 0x8026, NON_CONFORMANT_CONFIG = 0x800D, BLUE_SIZE = 10, TRUE_COLOR_EXT = 0x8002,
  SAMPLES_SGIS = 100001, SAMPLES_ARB = 100001, TRUE_COLOR = 0x8002, RGBA = 4,
  AUX_BUFFERS = 7, SAMPLE_BUFFERS = 100000, SAVED = 0x8021, MULTISAMPLE_SUB_RECT_HEIGHT_SGIS = 0x8027,
  DAMAGED_SGIX = 0x8020, STATIC_COLOR = 0x8005, PBUFFER_WIDTH = 0x8041, WIDTH = 0x801D,
  LEVEL = 3, CONFIG_CAVEAT = 0x20, RENDER_TYPE_SGIX = 0x8011
}
 
enum  GLXHyperpipeAttrib : int { PIPE_RECT_LIMITS_SGIX = 0x00000002, PIPE_RECT_SGIX = 0x00000001, HYPERPIPE_STEREO_SGIX = 0x00000003, HYPERPIPE_PIXEL_AVERAGE_SGIX = 0x00000004 }
 
enum  GLXStringName : int { EXTENSIONS = 0x3, VERSION = 0x2, VENDOR = 0x1 }
 
enum  GLXEventMask : int { PBUFFER_CLOBBER_MASK = 0x08000000, BUFFER_CLOBBER_MASK_SGIX = 0x08000000 }
 
enum  GLXRenderTypeMask : int {
  COLOR_INDEX_BIT_SGIX = 0x00000002, RGBA_BIT = 0x00000001, RGBA_FLOAT_BIT_ARB = 0x00000004, RGBA_BIT_SGIX = 0x00000001,
  COLOR_INDEX_BIT = 0x00000002
}
 
enum  GLXHyperpipeTypeMask : int { HYPERPIPE_RENDER_PIPE_SGIX = 0x00000002, HYPERPIPE_DISPLAY_PIPE_SGIX = 0x00000001 }
 
enum  GLXPbufferClobberMask : int {
  ACCUM_BUFFER_BIT_SGIX = 0x00000080, FRONT_LEFT_BUFFER_BIT = 0x00000001, BACK_RIGHT_BUFFER_BIT = 0x00000008, FRONT_RIGHT_BUFFER_BIT_SGIX = 0x00000002,
  STENCIL_BUFFER_BIT_SGIX = 0x00000040, SAMPLE_BUFFERS_BIT_SGIX = 0x00000100, STENCIL_BUFFER_BIT = 0x00000040, BACK_RIGHT_BUFFER_BIT_SGIX = 0x00000008,
  BACK_LEFT_BUFFER_BIT_SGIX = 0x00000004, AUX_BUFFERS_BIT = 0x00000010, DEPTH_BUFFER_BIT_SGIX = 0x00000020, ACCUM_BUFFER_BIT = 0x00000080,
  AUX_BUFFERS_BIT_SGIX = 0x00000010, DEPTH_BUFFER_BIT = 0x00000020, FRONT_LEFT_BUFFER_BIT_SGIX = 0x00000001, BACK_LEFT_BUFFER_BIT = 0x00000004,
  FRONT_RIGHT_BUFFER_BIT = 0x00000002
}
 
enum  GLXHyperpipeMisc : int { HYPERPIPE_PIPE_NAME_LENGTH_SGIX = 80 }
 
enum  GLXErrorCode : int {
  BAD_CONTEXT = 5, NO_EXTENSION = 3, BAD_HYPERPIPE_SGIX = 92, BAD_ENUM = 7,
  BAD_SCREEN = 1, BAD_VALUE = 6, BAD_ATTRIBUTE = 2, BAD_VISUAL = 4,
  BAD_HYPERPIPE_CONFIG_SGIX = 91
}
 
enum  GLXSyncType : int { SYNC_SWAP_SGIX = 0x00000001, SYNC_FRAME_SGIX = 0x00000000 }
 
enum  GLXDrawableTypeMask : int {
  WINDOW_BIT = 0x00000001, PIXMAP_BIT = 0x00000002, PBUFFER_BIT_SGIX = 0x00000004, PBUFFER_BIT = 0x00000004,
  WINDOW_BIT_SGIX = 0x00000001, PIXMAP_BIT_SGIX = 0x00000002
}
 
enum  ArbCreateContext : int {
  DebugBit = 0x0001, ForwardCompatibleBit = 0x0002, MajorVersion = 0x2091, MinorVersion = 0x2092,
  LayerPlane = 0x2093, Flags = 0x2094, ErrorInvalidVersion = 0x2095
}
 
enum  ErrorCode : int {
  NO_ERROR = 0, BAD_SCREEN = 1, BAD_ATTRIBUTE = 2, NO_EXTENSION = 3,
  BAD_VISUAL = 4, BAD_CONTEXT = 5, BAD_VALUE = 6, BAD_ENUM = 7
}
 
enum  EventMask {
  NoEventMask = 0, KeyPressMask = 1 << 0, KeyReleaseMask = 1 << 1, ButtonPressMask = 1 << 2,
  ButtonReleaseMask = 1 << 3, EnterWindowMask = 1 << 4, LeaveWindowMask = 1 << 5, PointerMotionMask = 1 << 6,
  PointerMotionHintMask = 1 << 7, Button1MotionMask = 1 << 8, Button2MotionMask = 1 << 9, Button3MotionMask = 1 << 10,
  Button4MotionMask = 1 << 11, Button5MotionMask = 1 << 12, ButtonMotionMask = 1 << 13, KeymapStateMask = 1 << 14,
  ExposureMask = 1 << 15, VisibilityChangeMask = 1 << 16, StructureNotifyMask = 1 << 17, ResizeRedirectMask = 1 << 18,
  SubstructureNotifyMask = 1 << 19, SubstructureRedirectMask = 1 << 20, FocusChangeMask = 1 << 21, PropertyChangeMask = 1 << 22,
  ColormapChangeMask = 1 << 23, OwnerGrabButtonMask = 1 << 24
}
 
enum  XIEventType {
  DeviceChanged = 1, KeyPress, KeyRelease, ButtonPress,
  ButtonRelease, Motion, Enter, Leave,
  FocusIn, FocusOut, HierarchyChanged, PropertyEvent,
  RawKeyPress, RawKeyRelease, RawButtonPress, RawButtonRelease,
  RawMotion, LastEvent = RawMotion
}
 
enum  XIEventMasks {
  DeviceChangedMask = (1 << (int)XIEventType.DeviceChanged), KeyPressMask = (1 << (int)XIEventType.KeyPress), KeyReleaseMask = (1 << (int)XIEventType.KeyRelease), ButtonPressMask = (1 << (int)XIEventType.ButtonPress),
  ButtonReleaseMask = (1 << (int)XIEventType.ButtonRelease), MotionMask = (1 << (int)XIEventType.Motion), EnterMask = (1 << (int)XIEventType.Enter), LeaveMask = (1 << (int)XIEventType.Leave),
  FocusInMask = (1 << (int)XIEventType.FocusIn), FocusOutMask = (1 << (int)XIEventType.FocusOut), HierarchyChangedMask = (1 << (int)XIEventType.HierarchyChanged), PropertyEventMask = (1 << (int)XIEventType.PropertyEvent),
  RawKeyPressMask = (1 << (int)XIEventType.RawKeyPress), RawKeyReleaseMask = (1 << (int)XIEventType.RawKeyRelease), RawButtonPressMask = (1 << (int)XIEventType.RawButtonPress), RawButtonReleaseMask = (1 << (int)XIEventType.RawButtonRelease),
  RawMotionMask = (1 << (int)XIEventType.RawMotion)
}