Crate objc2_open_gl

Crate objc2_open_gl 

Source
šŸ‘ŽDeprecated: The OpenGL API is deprecated by Apple
Expand description

§Bindings to the OpenGL framework

Note that this crate intentionally leaves out the cross-platform parts of the OpenGL API. See crates like gl or gl_generator for that instead.

See the OpenGL programming guide and the general docs on framework crates for more information.

Structs§

CGLCPContextPriorityRequestDeprecatedCGLTypes
Apple’s documentation
CGLContextEnableDeprecatedCGLTypes
Apple’s documentation
CGLContextParameterDeprecatedCGLTypes
Apple’s documentation
CGLErrorDeprecatedCGLTypes
Apple’s documentation
CGLGPURestartStatusDeprecatedCGLTypes
Apple’s documentation
CGLGlobalOptionDeprecatedCGLTypes
Apple’s documentation
CGLOpenGLProfileDeprecatedCGLTypes
Apple’s documentation
CGLPixelFormatAttributeDeprecatedCGLTypes
Apple’s documentation
CGLRendererPropertyDeprecatedCGLTypes
Apple’s documentation
CGLShareGroupRecDeprecatedCGLDevice
Apple’s documentation

Constants§

CGL_VERSION_1_0Deprecated
Apple’s documentation
CGL_VERSION_1_1Deprecated
Apple’s documentation
CGL_VERSION_1_2Deprecated
Apple’s documentation
CGL_VERSION_1_3Deprecated
Apple’s documentation
kCGL0BitDeprecatedCGLTypes
Apple’s documentation
kCGL1BitDeprecatedCGLTypes
Apple’s documentation
kCGL2BitDeprecatedCGLTypes
Apple’s documentation
kCGL3BitDeprecatedCGLTypes
Apple’s documentation
kCGL4BitDeprecatedCGLTypes
Apple’s documentation
kCGL5BitDeprecatedCGLTypes
Apple’s documentation
kCGL6BitDeprecatedCGLTypes
Apple’s documentation
kCGL8BitDeprecatedCGLTypes
Apple’s documentation
kCGL10BitDeprecatedCGLTypes
Apple’s documentation
kCGL12BitDeprecatedCGLTypes
Apple’s documentation
kCGL16BitDeprecatedCGLTypes
Apple’s documentation
kCGL24BitDeprecatedCGLTypes
Apple’s documentation
kCGL32BitDeprecatedCGLTypes
Apple’s documentation
kCGL48BitDeprecatedCGLTypes
Apple’s documentation
kCGL64BitDeprecatedCGLTypes
Apple’s documentation
kCGL96BitDeprecatedCGLTypes
Apple’s documentation
kCGL128BitDeprecatedCGLTypes
Apple’s documentation
kCGLARGB1555BitDeprecatedCGLTypes
Apple’s documentation
kCGLARGB4444BitDeprecatedCGLTypes
Apple’s documentation
kCGLARGB8888BitDeprecatedCGLTypes
Apple’s documentation
kCGLARGB2101010BitDeprecatedCGLTypes
Apple’s documentation
kCGLARGB12121212BitDeprecatedCGLTypes
Apple’s documentation
kCGLARGB16161616BitDeprecatedCGLTypes
Apple’s documentation
kCGLDoubleBufferBitDeprecatedCGLTypes
Apple’s documentation
kCGLMonoscopicBitDeprecatedCGLTypes
Apple’s documentation
kCGLMultisampleBitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB444A8BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB444BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB555A8BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB555BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB565A8BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB565BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB888A8BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB888BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB101010BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB101010_A8BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB121212BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGB161616BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGBA16161616BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGBAFloat64BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGBAFloat128BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGBAFloat256BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGBFloat64BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGBFloat128BitDeprecatedCGLTypes
Apple’s documentation
kCGLRGBFloat256BitDeprecatedCGLTypes
Apple’s documentation
kCGLRendererATIRadeon8500IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRadeon9700IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRadeonIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRadeonX1000IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRadeonX2000IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRadeonX3000IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRadeonX4000IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRage128IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererATIRageProIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererAppleSWIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererGeForce2MXIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererGeForce3IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererGeForce8xxxIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererGeForceFXIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererGeForceIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererGenericFloatIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererGenericIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererIDMatchingMaskDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererIntel900IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererIntelHD4000IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererIntelHD5000IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererIntelHDIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererIntelX3100IDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererMesa3DFXIDDeprecatedCGLRenderers
Apple’s documentation
kCGLRendererVTBladeXP2IDDeprecatedCGLRenderers
Apple’s documentation
kCGLSingleBufferBitDeprecatedCGLTypes
Apple’s documentation
kCGLStereoscopicBitDeprecatedCGLTypes
Apple’s documentation
kCGLSupersampleBitDeprecatedCGLTypes
Apple’s documentation
kCGLTripleBufferBitDeprecatedCGLTypes
Apple’s documentation

Functions§

CGLChoosePixelFormat⚠DeprecatedCGLTypes
Safety
CGLClearDrawable⚠DeprecatedCGLTypes
Safety
CGLCopyContext⚠DeprecatedCGLTypes
Safety
CGLCreateContext⚠DeprecatedCGLTypes
Safety
CGLCreatePBuffer⚠DeprecatedCGLTypes
Safety
CGLDescribePBuffer⚠DeprecatedCGLTypes
Safety
CGLDescribePixelFormat⚠DeprecatedCGLTypes
Safety
CGLDescribeRenderer⚠DeprecatedCGLTypes
Safety
CGLDestroyContext⚠DeprecatedCGLTypes
Safety
CGLDestroyPBuffer⚠DeprecatedCGLTypes
Safety
CGLDestroyPixelFormat⚠DeprecatedCGLTypes
Safety
CGLDestroyRendererInfo⚠DeprecatedCGLTypes
Safety
CGLDisable⚠DeprecatedCGLTypes
Safety
CGLEnable⚠DeprecatedCGLTypes
Safety
CGLErrorString⚠DeprecatedCGLTypes
CGLFlushDrawable⚠DeprecatedCGLTypes
Safety
CGLGetContextRetainCount⚠DeprecatedCGLTypes
Safety
CGLGetCurrentContext⚠DeprecatedCGLCurrent and CGLTypes
CGLGetDeviceFromGLRenderer⚠DeprecatedCGLDevice
CGLGetGlobalOption⚠DeprecatedCGLTypes
Safety
CGLGetOffScreen⚠DeprecatedCGLTypes
Safety
CGLGetOption⚠DeprecatedCGLTypes
Safety
CGLGetPBuffer⚠DeprecatedCGLTypes
Safety
CGLGetPBufferRetainCount⚠DeprecatedCGLTypes
Safety
CGLGetParameter⚠DeprecatedCGLTypes
Safety
CGLGetPixelFormat⚠DeprecatedCGLTypes
Safety
CGLGetPixelFormatRetainCount⚠DeprecatedCGLTypes
Safety
CGLGetShareGroup⚠DeprecatedCGLDevice and CGLTypes
Safety
CGLGetVersion⚠Deprecated
Safety
CGLGetVirtualScreen⚠DeprecatedCGLTypes
Safety
CGLIsEnabled⚠DeprecatedCGLTypes
Safety
CGLLockContext⚠DeprecatedCGLTypes
Safety
CGLQueryRendererInfo⚠DeprecatedCGLTypes
Safety
CGLReleaseContext⚠DeprecatedCGLTypes
Safety
CGLReleasePBuffer⚠DeprecatedCGLTypes
Safety
CGLReleasePixelFormat⚠DeprecatedCGLTypes
Safety
CGLRetainContext⚠DeprecatedCGLTypes
Safety
CGLRetainPBuffer⚠DeprecatedCGLTypes
Safety
CGLRetainPixelFormat⚠DeprecatedCGLTypes
Safety
CGLSetCurrentContext⚠DeprecatedCGLCurrent and CGLTypes
Safety
CGLSetFullScreen⚠DeprecatedCGLTypes
Safety
CGLSetFullScreenOnDisplay⚠DeprecatedCGLTypes
Safety
CGLSetGlobalOption⚠DeprecatedCGLTypes
Safety
CGLSetOffScreen⚠DeprecatedCGLTypes
Safety
CGLSetOption⚠DeprecatedCGLTypes
CGLSetPBuffer⚠DeprecatedCGLTypes
Safety
CGLSetParameter⚠DeprecatedCGLTypes
Safety
CGLSetVirtualScreen⚠DeprecatedCGLTypes
Safety
CGLTexImageIOSurface2D⚠DeprecatedCGLTypes and IOSurface and objc2-io-surface
CGLTexImageIOSurface2D() allows you to bind a single image plane from an IOSurfaceRef to an OpenGL texture object. It is the rough equivalent to glTexImage2D(), except that the underlying source data comes from an IOSurface rather than from an explicit pointer. Note that unlike glTexImage2D(), the binding is ā€œliveā€, in that if the contents of the IOSurface change, the contents become visible to OpenGL without making another call to CGLTexImageIOSurface2D(). That being said, there are a few synchronization things to worry about if you are using IOSurface to pass data between contexts and/or different processes, or between the CPU and OpenGL.
CGLTexImagePBuffer⚠DeprecatedCGLTypes
Safety
CGLUnlockContext⚠DeprecatedCGLTypes
Safety
CGLUpdateContext⚠DeprecatedCGLTypes
Safety

Type Aliases§

CGLContextObjDeprecatedCGLTypes
Apple’s documentation
CGLPBufferObjDeprecatedCGLTypes
Apple’s documentation
CGLPixelFormatObjDeprecatedCGLTypes
Apple’s documentation
CGLRendererInfoObjDeprecatedCGLTypes
Apple’s documentation
CGLShareGroupObjDeprecatedCGLDevice
Apple’s documentation
cl_device_idDeprecatedCGLDevice
Apple’s documentation