Cargo Features
[dependencies]
objc2-open-gl = { version = "0.3.2", default-features = false, features = ["std", "alloc", "objc2-io-surface", "unstable-darwin-objc", "CGLRenderers", "CGLTypes", "IOSurface"] }
- default = CGLCurrent, CGLDevice, CGLRenderers, CGLTypes, IOSurface, objc2-io-surface, std
-
These default features are set whenever
objc2-open-glis added withoutsomewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- objc2-io-surface default
-
Enables objc2-io-surface
Affects
IOSurface::CGLTexImageIOSurface2D… - unstable-darwin-objc
- CGLCurrent CGLDevice CGLRenderers default
- CGLTypes default
-
Affects
CGLCurrent::CGLSetCurrentContext,CGLCurrent::CGLGetCurrentContext,CGLDevice::CGLGetShareGroup,generated::CGLChoosePixelFormat,generated::CGLDestroyPixelFormat,generated::CGLDescribePixelFormat,generated::CGLReleasePixelFormat,generated::CGLRetainPixelFormat,generated::CGLGetPixelFormatRetainCount,generated::CGLQueryRendererInfo,generated::CGLDestroyRendererInfo,generated::CGLDescribeRenderer,generated::CGLCreateContext,generated::CGLDestroyContext,generated::CGLCopyContext,generated::CGLRetainContext,generated::CGLReleaseContext,generated::CGLGetContextRetainCount,generated::CGLGetPixelFormat,IOSurface::CGLTexImageIOSurface2D… - IOSurface default