GLBase for more information.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | kCGLBadAddress
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadAlloc
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadAttribute
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadCodeModule
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadConnection
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadContext
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadDisplay
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadDrawable
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadEnumeration
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadFullScreen
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadMatch
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadOffScreen
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadPixelFormat
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadProperty
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadRendererInfo
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadState
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadValue
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLBadWindow
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLCPClientStorage
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPCurrentRendererID
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPDispatchTableSize
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPGPUFragmentProcessing
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPGPUVertexProcessing
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPHasDrawable
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPMPSwapsInFlight
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPReclaimResources
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPSurfaceBackingSize
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPSurfaceOpacity
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPSurfaceOrder
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPSurfaceSurfaceVolatile
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPSurfaceTexture
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPSwapInterval
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLCPSwapRectangle
Defined as part of enum type "CGLContextParameter" - CType: int |
| public static final int | kCGLNoError
Defined as part of enum type "CGLError" - CType: int |
| public static final int | kCGLOGLPVersion_GL3_Core
Defined as part of enum type "CGLOpenGLProfile" - CType: int |
| public static final int | kCGLOGLPVersion_GL4_Core
Defined as part of enum type "CGLOpenGLProfile" - CType: int |
| public static final int | kCGLOGLPVersion_Legacy
Defined as part of enum type "CGLOpenGLProfile" - CType: int |
| public static final int | kCGLPFAAccelerated
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAAcceleratedCompute
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAAccumSize
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAAllRenderers
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAAlphaSize
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAAuxBuffers
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAAuxDepthStencil
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFABackingStore
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAClosestPolicy
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAColorFloat
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAColorSize
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFACompliant
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFADepthSize
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFADisplayMask
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFADoubleBuffer
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAFullScreen
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAMaximumPolicy
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAMinimumPolicy
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAMPSafe
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAMultisample
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAMultiScreen
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFANoRecovery
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAOffScreen
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAOpenGLProfile
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAPBuffer
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFARemotePBuffer
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFARendererID
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFARobust
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFASampleAlpha
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFASampleBuffers
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFASamples
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFASingleRenderer
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAStencilSize
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAStereo
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFASupersample
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAVirtualScreenCount
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | kCGLPFAWindow
Defined as part of enum type "CGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAAccelerated
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAAccumSize
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAAllRenderers
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAAlphaSize
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAAuxBuffers
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAAuxDepthStencil
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFABackingStore
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAClosestPolicy
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAColorFloat
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAColorSize
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFACompliant
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFADepthSize
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFADoubleBuffer
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAFullScreen
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAMaximumPolicy
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAMinimumPolicy
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAMPSafe
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAMultisample
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAMultiScreen
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFANoRecovery
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAOffScreen
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAPixelBuffer
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFARendererID
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFARobust
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFASampleAlpha
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFASampleBuffers
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFASamples
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAScreenMask
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFASingleRenderer
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAStencilSize
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAStereo
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFASupersample
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAVirtualScreenCount
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| public static final int | NSOpenGLPFAWindow
Defined as part of enum type "NSOpenGLPixelFormatAttribute" - CType: int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | CGLChoosePixelFormat(IntBuffer
a direct only attribs, PointerBuffer java.a direct only pix, IntBuffer com.a direct only npix)java.Interface to C language function: |
| private static native int | CGLChoosePixelFormat0(Object
a direct only attribs, int attribs_byte_offset, Object java.a direct only pix, int pix_byte_offset, Object com.a direct only npix, int npix_byte_offset)java.Entry point to C language function: |
| public static native int | CGLCopyContext(long src, long dst, int mask)
Interface to C language function: |
| public static int | CGLCreateContext(long pix, long share, PointerBuffer
a direct only ctx)com.Interface to C language function: |
| private static native int | CGLCreateContext0(long pix, long share, Object
a direct only ctx, int ctx_byte_offset)com.Entry point to C language function: |
| public static int | CGLCreatePBuffer(int width, int height, int target, int internalFormat, int max_level, PointerBuffer
a direct only pbuffer)com.Interface to C language function: |
| private static native int | CGLCreatePBuffer0(int width, int height, int target, int internalFormat, int max_level, Object
a direct only pbuffer, int pbuffer_byte_offset)com.Entry point to C language function: |
| public static native int | CGLDestroyContext(long ctx)
Interface to C language function: |
| public static native int | CGLDestroyPBuffer(long pbuffer)
Interface to C language function: |
| public static native int | CGLDestroyPixelFormat(long pix)
Interface to C language function: |
| public static native int | CGLFlushDrawable(long ctx)
Interface to C language function: |
| public static native long | |
| public static native long | CGLGetPixelFormat(long ctx)
Interface to C language function: |
| public static native long | CGLGetShareGroup(long ctx)
Interface to C language function: |
| public static native int | CGLLockContext(long ctx)
Interface to C language function: |
| public static void | CGLQueryPixelFormat(long fmt, IntBuffer
a direct only iattrs, int niattrs, IntBuffer java.a direct only ivalues)java.Interface to C language function: |
| private static native void | CGLQueryPixelFormat0(long fmt, Object
a direct only iattrs, int iattrs_byte_offset, int niattrs, Object java.a direct only ivalues, int ivalues_byte_offset)java.Entry point to C language function: |
| public static native void | CGLReleaseContext(long ctx)
Interface to C language function: |
| public static native int | CGLSetCurrentContext(long ctx)
Interface to C language function: |
| public static int | CGLSetParameter(long ctx, int
valid values are: pname, IntBuffer kCGLCPSwapRectangle, kCGLCPSwapInterval, kCGLCPDispatchTableSize, kCGLCPClientStorage, kCGLCPSurfaceTexture, kCGLCPSurfaceOrder, kCGLCPSurfaceOpacity, kCGLCPSurfaceBackingSize, kCGLCPSurfaceSurfaceVolatile, kCGLCPReclaimResources, kCGLCPCurrentRendererID, kCGLCPGPUVertexProcessing, kCGLCPGPUFragmentProcessing, kCGLCPHasDrawable, kCGLCPMPSwapsInFlighta direct only params)java.Interface to C language function: |
| private static native int | CGLSetParameter0(long ctx, int
valid values are: pname, Object kCGLCPSwapRectangle, kCGLCPSwapInterval, kCGLCPDispatchTableSize, kCGLCPClientStorage, kCGLCPSurfaceTexture, kCGLCPSurfaceOrder, kCGLCPSurfaceOpacity, kCGLCPSurfaceBackingSize, kCGLCPSurfaceSurfaceVolatile, kCGLCPReclaimResources, kCGLCPCurrentRendererID, kCGLCPGPUVertexProcessing, kCGLCPGPUFragmentProcessing, kCGLCPHasDrawable, kCGLCPMPSwapsInFlighta direct only params, int params_byte_offset)java.Entry point to C language function: |
| public static native int | CGLSetPBuffer(long ctx, long pbuffer, int face, int level, int screen)
Interface to C language function: |
| public static native int | CGLUnlockContext(long ctx)
Interface to C language function: |
| public static native boolean | clearCurrentContext(long ctx)
Interface to C language function: |
| public static native void | |
| public static native void | copyContext(long dest, long src, int mask)
Interface to C language function: |
| public static long | createContext(long shareContext, long nsView, boolean incompleteView, long pixelFormat, boolean opaque, IntBuffer
a direct only viewNotReady)java.Interface to C language function: |
| private static native long | createContext0(long shareContext, long nsView, boolean incompleteView, long pixelFormat, boolean opaque, Object
a direct only viewNotReady, int viewNotReady_byte_offset)java.Entry point to C language function: |
| public static long | createNSOpenGLLayer(final long ctx, final int gl3ShaderProgramName, final long fmt, final long p, final int texID, final boolean opaque, final int texWidth, final int texHeight, final int winWidth, final int winHeight)
Creates the NSOpenGLLayer for FBO/PBuffer w/ optional GL3 shader program The NSOpenGLLayer will immediatly create a OpenGL context sharing the given ctx, which will be used to render the texture offthread. |
| private static native long | createNSOpenGLLayerImpl(long ctx, int gl3ShaderProgramName, long fmt, long p, int texID, boolean opaque, int texWidth, int texHeight, int winWidth, int winHeight)
Interface to C language function: |
| public static native long | createPBuffer(int renderTarget, int internalFormat, int width, int height)
Interface to C language function: |
| public static long | createPixelFormat(IntBuffer
a direct only iattrs, int niattrs, IntBuffer java.a direct only ivalues)java.Interface to C language function: |
| private static native long | createPixelFormat0(Object
a direct only iattrs, int iattrs_byte_offset, int niattrs, Object java.a direct only ivalues, int ivalues_byte_offset)java.Entry point to C language function: |
| public static native boolean | deleteContext(long ctx, boolean releaseOnMainThread)
Interface to C language function: |
| public static native void | deletePixelFormat(long fmt)
Interface to C language function: |
| public static native boolean | destroyPBuffer(long pBuffer)
Interface to C language function: |
| public static native boolean | |
| public static native long | getCGLContext(long ctx)
Interface to C language function: |
| public static native long | |
| public static native long | |
| public static native long | getProcAddress(String procName)
Interface to C language function: |
| public static native boolean | isNSOpenGLPixelBuffer(long object)
Interface to C language function: |
| public static native boolean | makeCurrentContext(long ctx)
Interface to C language function: |
| public static void | queryPixelFormat(long fmt, IntBuffer
a direct only iattrs, int niattrs, IntBuffer java.a direct only ivalues)java.Interface to C language function: |
| private static native void | queryPixelFormat0(long fmt, Object
a direct only iattrs, int iattrs_byte_offset, int niattrs, Object java.a direct only ivalues, int ivalues_byte_offset)java.Entry point to C language function: |
| public static void | |
| private static native void | releaseNSOpenGLLayerImpl(long glLayer)
Interface to C language function: |
| public static native void | |
| public static native void | setContextOpacity(long ctx, int opacity)
Interface to C language function: |
| public static native void | setContextPBuffer(long ctx, long pBuffer)
Interface to C language function: |
| public static native void | setContextTextureImageToPBuffer(long ctx, long pBuffer, int colorBuffer)
Interface to C language function: |
| public static native void | setContextView(long ctx, long view)
Interface to C language function: |
| public static boolean | setGammaRamp(int tableSize, FloatBuffer
a direct only redRamp, FloatBuffer java.a direct only greenRamp, FloatBuffer java.a direct only blueRamp)java.Interface to C language function: |
| private static native boolean | setGammaRamp0(int tableSize, Object
a direct only redRamp, int redRamp_byte_offset, Object java.a direct only greenRamp, int greenRamp_byte_offset, Object java.a direct only blueRamp, int blueRamp_byte_offset)java.Entry point to C language function: |
| public static void | setNSOpenGLLayerEnabled(final long nsOpenGLLayer, final boolean enable)
Enable or disable NSOpenGLLayer. |
| private static native void | setNSOpenGLLayerEnabledImpl(long layer, boolean enable)
Interface to C language function: |
| public static native void | setNSOpenGLLayerNeedsDisplayFBO(long layer, int texID)
Interface to C language function: |
| public static native void | setNSOpenGLLayerNeedsDisplayPBuffer(long layer, long p)
Interface to C language function: |
| public static native void | setNSOpenGLLayerSwapInterval(long layer, int interval)
Interface to C language function: |
| public static native void | setSwapInterval(long ctx, int interval)
Interface to C language function: |
| public static native void | |
| public static native boolean | updateContextNeedsUpdate(long updater)
Interface to C language function: |
| public static native long | updateContextRegister(long ctx, long view)
Interface to C language function: |
| public static native void | updateContextUnregister(long updater)
Interface to C language function: |
| public static native void | waitUntilNSOpenGLLayerIsReady(long layer, long to_micros)
Interface to C language function: |