[Missing <summary> documentation for "T:Monobjc.OpenGL.CGL"]
C# | Visual Basic | Visual C++ |
public static class CGL
Public NotInheritable Class CGL
public ref class CGL abstract sealed
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
ChoosePixelFormat(IntPtr, IntPtr, IntPtr) | Creates a pixel format object that satisfies the constraints of the specified buffer and renderer attributes. Original signature is 'CGLError CGLChoosePixelFormat ( const CGLPixelFormatAttribute *attribs, CGLPixelFormatObj *pix, GLint *npix );' Available in Mac OS X v10.0 and later. | |
ClearDrawable(IntPtr) | Disassociates a rendering context from any drawable objects attached to it. Original signature is 'CGLError CGLClearDrawable ( CGLContextObj ctx );' Available in Mac OS X v10.0 and later. | |
CopyContext(IntPtr, IntPtr, Int32) | Copies the specified state variables from one rendering context to another. Original signature is 'CGLError CGLCopyContext ( CGLContextObj src, CGLContextObj dst, GLbitfield mask );' Available in Mac OS X v10.0 and later. | |
CreateContext(IntPtr, IntPtr, IntPtr) | Creates a CGL rendering context. Original signature is 'CGLError CGLCreateContext ( CGLPixelFormatObj pix, CGLContextObj share, CGLContextObj *ctx );' Available in Mac OS X v10.0 and later. | |
CreatePBuffer(Int32, Int32, Int32, Int32, Int32, IntPtr) | Creates a pixel buffer of the specified size, compatible with the specified texture target. Original signature is 'CGLError CGLCreatePBuffer ( GLsizei width, GLsizei height, GLenum target, GLenum internalFormat, GLint max_level, CGLPBufferObj *pbuffer );' Available in Mac OS X v10.3 and later. | |
DescribePBuffer(IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr) | Retrieves information that describes the specified pixel buffer object. Original signature is 'CGLError CGLDescribePBuffer ( CGLPBufferObj obj, GLsizei *width, GLsizei *height, GLenum *target, GLenum *internalFormat, GLint *mipmap );' Available in Mac OS X v10.3 and later. | |
DescribePixelFormat(IntPtr, Int32, CGLPixelFormatAttribute, IntPtr) | Retrieves the values of an attribute associated with a pixel format object. Original signature is 'CGLError CGLDescribePixelFormat ( CGLPixelFormatObj pix, GLint pix_num, CGLPixelFormatAttribute attrib, GLint *value );' Available in Mac OS X v10.0 and later. | |
DescribeRenderer(IntPtr, Int32, CGLRendererProperty, IntPtr) | Obtains the value associated with a renderer property. Original signature is 'CGLError CGLDescribeRenderer ( CGLRendererInfoObj rend, GLint rend_num, CGLRendererProperty prop, GLint *value );' Available in Mac OS X v10.0 and later. | |
DestroyContext(IntPtr) | Frees the resources associated with a rendering context. Original signature is 'CGLError CGLDestroyContext ( CGLContextObj ctx );' Available in Mac OS X v10.0 and later. | |
DestroyPBuffer(IntPtr) | Releases the resources associated with a pixel buffer object. Original signature is 'CGLError CGLDestroyPBuffer ( CGLPBufferObj pbuffer );' Available in Mac OS X v10.3 and later. | |
DestroyPixelFormat(IntPtr) | Frees the memory associated with a pixel format object. Original signature is 'CGLError CGLDestroyPixelFormat ( CGLPixelFormatObj pix );' Available in Mac OS X v10.0 and later. | |
DestroyRendererInfo(IntPtr) | Frees resources associated with a renderer information object. Original signature is 'CGLError CGLDestroyRendererInfo ( CGLRendererInfoObj rend );' Available in Mac OS X v10.0 and later. | |
Disable(IntPtr, CGLContextEnable) | Disables an option for a rendering context. Original signature is 'CGLError CGLDisable ( CGLContextObj ctx, CGLContextEnable pname );' Available in Mac OS X v10.0 and later. | |
Enable(IntPtr, CGLContextEnable) | Enables an option for a rendering context. Original signature is 'CGLError CGLEnable ( CGLContextObj ctx, CGLContextEnable pname );' Available in Mac OS X v10.0 and later. | |
ErrorString(CGLError) | Returns a string that describes the specified result code. Original signature is 'const char * CGLErrorString ( CGLError error );' Available in Mac OS X v10.0 and later. | |
FlushDrawable(IntPtr) | Copies the back buffer of a double-buffered context to the front buffer. Original signature is 'CGLError CGLFlushDrawable ( CGLContextObj ctx );' Available in Mac OS X v10.0 and later. | |
GetContextRetainCount(IntPtr) | Returns the current retain count of a CGL rendering context. Original signature is 'GLuint CGLGetContextRetainCount ( CGLContextObj ctx );' Available in Mac OS X v10.5 and later. | |
GetCurrentContext()()()() | Returns the current rendering context. Original signature is 'CGLContextObj CGLGetCurrentContext ( void );' Available in Mac OS X v10.0 and later. | |
GetGlobalOption(CGLGlobalOption, IntPtr) | Retrieves the value of a global option. Original signature is 'CGLError CGLGetGlobalOption ( CGLGlobalOption pname, GLint *params );' Available in Mac OS X v10.6 and later. | |
GetOffScreen(IntPtr, IntPtr, IntPtr, IntPtr, IntPtr) | Retrieves an offscreen buffer and its parameters for a specified rendering context. Original signature is 'CGLError CGLGetOffScreen ( CGLContextObj ctx, GLsizei *width, GLsizei *height, GLint *rowbytes, void **baseaddr );' Available in Mac OS X v10.0 and later. | |
GetOption(CGLGlobalOption, IntPtr) | Obtains the value of a global option. (Deprecated. Use CGLGetGlobalOption instead.) Original signature is 'CGLError CGLGetOption ( CGLGlobalOption pname, GLint *param );' Available in Mac OS X v10.0 and later. | |
GetParameter(IntPtr, CGLContextParameter, IntPtr) | Retrieves the value of a rendering context parameter. Original signature is 'CGLError CGLGetParameter ( CGLContextObj ctx, CGLContextParameter pname, GLint *params );' Available in Mac OS X v10.0 and later. | |
GetPBuffer(IntPtr, IntPtr, IntPtr, IntPtr, IntPtr) | Retrieves a pixel buffer and its parameters for a specified rendering context. Original signature is 'CGLError CGLGetPBuffer ( CGLContextObj ctx, CGLPBufferObj *pbuffer, GLenum *face, GLint *level, GLint *screen );' Available in Mac OS X v10.3 and later. | |
GetPBufferRetainCount(IntPtr) | Returns the retain count of a pixel buffer object. Original signature is 'GLuint CGLGetPBufferRetainCount ( CGLPBufferObj pbuffer );' Available in Mac OS X v10.5 and later. | |
GetPixelFormat(IntPtr) | Retrieves the current pixel format associated with a CGL rendering context. Original signature is 'CGLPixelFormatObj CGLGetPixelFormat ( CGLContextObj ctx );' Available in Mac OS X v10.5 and later. | |
GetPixelFormatRetainCount(IntPtr) | Returns the retain count of a pixel format object. Original signature is 'GLuint CGLGetPixelFormatRetainCount ( CGLPixelFormatObj pix );' Available in Mac OS X v10.5 and later. | |
GetVersion(Int32%, Int32%) | Gets the major and minor version numbers of the CGL library. Original signature is 'void CGLGetVersion ( GLint *majorvers, GLint *minorvers );' Available in Mac OS X v10.0 and later. | |
GetVirtualScreen(IntPtr, Int32%) | Gets the current virtual screen number associated with a rendering context. Original signature is 'CGLError CGLGetVirtualScreen ( CGLContextObj ctx, GLint *screen );' Available in Mac OS X v10.0 and later. | |
IsEnabled(IntPtr, CGLContextEnable, Int32%) | Reports whether an option is enabled for a rendering context. Original signature is 'CGLError CGLIsEnabled ( CGLContextObj ctx, CGLContextEnable pname, GLint *enable );' Available in Mac OS X v10.0 and later. | |
LockContext(IntPtr) | Locks a CGL rendering context. Original signature is 'CGLError CGLLockContext ( CGLContextObj ctx );' Available in Mac OS X v10.4 and later. | |
QueryRendererInfo(UInt32, IntPtr, IntPtr) | Creates a renderer information object that contains properties and values for renderers able to drive all the specified displays in a given display mask. Original signature is 'CGLError CGLQueryRendererInfo ( GLuint display_mask, CGLRendererInfoObj *rend, GLint *nrend );' Available in Mac OS X v10.0 and later. | |
ReleaseContext(IntPtr) | Decrements the retain count on a CGL rendering context. Original signature is 'void CGLReleaseContext ( CGLContextObj ctx );' Available in Mac OS X v10.5 and later. | |
ReleasePBuffer(IntPtr) | Decrements the retain count on a pixel buffer object. Original signature is 'void CGLReleasePBuffer ( CGLPBufferObj pbuffer );' Available in Mac OS X v10.5 and later. | |
ReleasePixelFormat(IntPtr) | Decrements the reference count of a pixel format object. Original signature is 'void CGLReleasePixelFormat ( CGLPixelFormatObj pix );' Available in Mac OS X v10.5 and later. | |
RetainContext(IntPtr) | Increments the retain count on a CGL rendering context. Original signature is 'CGLContextObj CGLRetainContext ( CGLContextObj ctx );' Available in Mac OS X v10.5 and later. | |
RetainPBuffer(IntPtr) | Increments the retain count on a pixel buffer object. Original signature is 'CGLPBufferObj CGLRetainPBuffer ( CGLPBufferObj pbuffer );' Available in Mac OS X v10.5 and later. | |
RetainPixelFormat(IntPtr) | Increments the receiver’s reference count. Original signature is 'CGLPixelFormatObj CGLRetainPixelFormat ( CGLPixelFormatObj pix );' Available in Mac OS X v10.5 and later. | |
SetCurrentContext(IntPtr) | Sets the specified rendering context as the current rendering context. Original signature is 'CGLError CGLSetCurrentContext ( CGLContextObj ctx );' Available in Mac OS X v10.0 and later. | |
SetFullScreenOnDisplay(IntPtr, UInt32) | Attaches a rendering context to a full-screen drawable object. Original signature is 'CGLError CGLSetFullScreenOnDisplay ( CGLContextObj ctx, GLuint display_mask );' Available in Mac OS X v10.6 and later. | |
SetGlobalOption(CGLGlobalOption, IntPtr) | Sets the value of a global option. Original signature is 'CGLError CGLSetGlobalOption ( CGLGlobalOption pname, const GLint *params );' Available in Mac OS X v10.6 and later. | |
SetOffScreen(IntPtr, Int32, Int32, Int32, IntPtr) | Attaches a rendering context to an offscreen buffer. Original signature is 'CGLError CGLSetOffScreen ( CGLContextObj ctx, GLsizei width, GLsizei height, GLint rowbytes, void *baseaddr );' Available in Mac OS X v10.0 and later. | |
SetOption(CGLGlobalOption, Int32) | Sets the value of a global option. (Deprecated. Use CGLSetGlobalOption instead.) Original signature is 'CGLError CGLSetOption ( CGLGlobalOption pname, GLint param );' Available in Mac OS X v10.0 and later. | |
SetParameter(IntPtr, CGLContextParameter, IntPtr) | Sets the value of a rendering context parameter. Original signature is 'CGLError CGLSetParameter ( CGLContextObj ctx, CGLContextParameter pname, const GLint *params );' Available in Mac OS X v10.0 and later. | |
SetPBuffer(IntPtr, IntPtr, Int32, Int32, Int32) | Attaches a pixel buffer object to a rendering context. Original signature is 'CGLError CGLSetPBuffer ( CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum face, GLint level, GLint screen );' Available in Mac OS X v10.3 and later. | |
SetVirtualScreen(IntPtr, Int32) | Forces subsequent OpenGL commands to the specified virtual screen. Original signature is 'CGLError CGLSetVirtualScreen ( CGLContextObj ctx, GLint screen );' Available in Mac OS X v10.0 and later. | |
TexImagePBuffer(IntPtr, IntPtr, Int32) | Binds the contents of a pixel buffer to a data source for a texture object. Original signature is 'CGLError CGLTexImagePBuffer ( CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum source );' Available in Mac OS X v10.3 and later. | |
UnlockContext(IntPtr) | Unlocks a CGL rendering context. Original signature is 'CGLError CGLUnlockContext ( CGLContextObj ctx );' Available in Mac OS X v10.4 and later. |
Object | |
CGL |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)