| Modifier and Type | Class and Description |
|---|---|
| public static class | CGL.
Contains the function pointers loaded from |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | kCGL0Bit
Depth and stencil buffer depths. |
| public static final int | kCGL10Bit
Depth and stencil buffer depths. |
| public static final int | kCGL128Bit
Depth and stencil buffer depths. |
| public static final int | kCGL12Bit
Depth and stencil buffer depths. |
| public static final int | kCGL16Bit
Depth and stencil buffer depths. |
| public static final int | kCGL1Bit
Depth and stencil buffer depths. |
| public static final int | kCGL24Bit
Depth and stencil buffer depths. |
| public static final int | kCGL2Bit
Depth and stencil buffer depths. |
| public static final int | kCGL32Bit
Depth and stencil buffer depths. |
| public static final int | kCGL3Bit
Depth and stencil buffer depths. |
| public static final int | kCGL48Bit
Depth and stencil buffer depths. |
| public static final int | kCGL4Bit
Depth and stencil buffer depths. |
| public static final int | kCGL5Bit
Depth and stencil buffer depths. |
| public static final int | kCGL64Bit
Depth and stencil buffer depths. |
| public static final int | kCGL6Bit
Depth and stencil buffer depths. |
| public static final int | kCGL8Bit
Depth and stencil buffer depths. |
| public static final int | kCGL96Bit
Depth and stencil buffer depths. |
| public static final int | kCGLARGB12121212Bit
Color and accumulation buffer formats. |
| public static final int | kCGLARGB1555Bit
Color and accumulation buffer formats. |
| public static final int | kCGLARGB2101010Bit
Color and accumulation buffer formats. |
| public static final int | kCGLARGB4444Bit
Color and accumulation buffer formats. |
| public static final int | kCGLARGB8888Bit
Color and accumulation buffer formats. |
| public static final int | kCGLBadAddress
CGL error return values. |
| public static final int | kCGLBadAlloc
CGL error return values. |
| public static final int | kCGLBadAttribute
CGL error return values. |
| public static final int | kCGLBadCodeModule
CGL error return values. |
| public static final int | kCGLBadConnection
CGL error return values. |
| public static final int | kCGLBadContext
CGL error return values. |
| public static final int | kCGLBadDisplay
CGL error return values. |
| public static final int | kCGLBadDrawable
CGL error return values. |
| public static final int | kCGLBadEnumeration
CGL error return values. |
| public static final int | kCGLBadFullScreen
CGL error return values. |
| public static final int | kCGLBadMatch
CGL error return values. |
| public static final int | kCGLBadOffScreen
CGL error return values. |
| public static final int | kCGLBadPixelFormat
CGL error return values. |
| public static final int | kCGLBadProperty
CGL error return values. |
| public static final int | kCGLBadRendererInfo
CGL error return values. |
| public static final int | kCGLBadState
CGL error return values. |
| public static final int | kCGLBadValue
CGL error return values. |
| public static final int | kCGLBadWindow
CGL error return values. |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | kCGLCPClientStorage
Parameter names for |
| public static final int | kCGLCPCurrentRendererID
Parameter names for |
| public static final int | kCGLCPDispatchTableSize
Parameter names for |
| public static final int | kCGLCPGPUFragmentProcessing
Parameter names for |
| public static final int | kCGLCPGPUVertexProcessing
Parameter names for |
| public static final int | kCGLCPHasDrawable
Parameter names for |
| public static final int | kCGLCPMPSwapsInFlight
Parameter names for |
| public static final int | kCGLCPReclaimResources
Parameter names for |
| public static final int | kCGLCPSurfaceBackingSize
Parameter names for |
| public static final int | kCGLCPSurfaceOpacity
Parameter names for |
| public static final int | kCGLCPSurfaceOrder
Parameter names for |
| public static final int | kCGLCPSurfaceSurfaceVolatile
Parameter names for |
| public static final int | kCGLCPSurfaceTexture
Parameter names for |
| public static final int | kCGLCPSwapInterval
Parameter names for |
| public static final int | kCGLCPSwapRectangle
Parameter names for |
| public static final int | kCGLDoubleBufferBit
Buffer modes. |
| public static final int | kCGLGOClearFormatCache
Option names for |
| public static final int | kCGLGOFormatCacheSize
Option names for |
| public static final int | kCGLGOResetLibrary
Option names for |
| public static final int | kCGLGORetainRenderers
Option names for |
| public static final int | kCGLGOUseBuildCache
Option names for |
| public static final int | kCGLGOUseErrorHandler
Option names for |
| public static final int | kCGLMonoscopicBit
Buffer modes. |
| public static final int | kCGLMultisampleBit
Sampling modes. |
| public static final int | kCGLNoError
CGL error return values. |
| public static final int | kCGLOGLPVersion_3_2_Core
OpenGL Implementation Profiles. |
| public static final int | kCGLOGLPVersion_Legacy
OpenGL Implementation Profiles. |
| public static final int | kCGLPFAAccelerated
Attribute names for |
| public static final int | kCGLPFAAcceleratedCompute
Attribute names for |
| public static final int | kCGLPFAAccumSize
Attribute names for |
| public static final int | kCGLPFAAllowOfflineRenderers
Attribute names for |
| public static final int | kCGLPFAAllRenderers
Attribute names for |
| public static final int | kCGLPFAAlphaSize
Attribute names for |
| public static final int | kCGLPFAAuxBuffers
Attribute names for |
| public static final int | kCGLPFAAuxDepthStencil
Attribute names for |
| public static final int | kCGLPFABackingStore
Attribute names for |
| public static final int | kCGLPFABackingVolatile
Attribute names for |
| public static final int | kCGLPFAClosestPolicy
Attribute names for |
| public static final int | kCGLPFAColorFloat
Attribute names for |
| public static final int | kCGLPFAColorSize
Attribute names for |
| public static final int | kCGLPFACompliant
Attribute names for |
| public static final int | kCGLPFADepthSize
Attribute names for |
| public static final int | kCGLPFADisplayMask
Attribute names for |
| public static final int | kCGLPFADoubleBuffer
Attribute names for |
| public static final int | kCGLPFAFullScreen
Attribute names for |
| public static final int | kCGLPFAMaximumPolicy
Attribute names for |
| public static final int | kCGLPFAMinimumPolicy
Attribute names for |
| public static final int | kCGLPFAMPSafe
Attribute names for |
| public static final int | kCGLPFAMultisample
Attribute names for |
| public static final int | kCGLPFAMultiScreen
Attribute names for |
| public static final int | kCGLPFANoRecovery
Attribute names for |
| public static final int | kCGLPFAOffScreen
Attribute names for |
| public static final int | kCGLPFAOpenGLProfile
Attribute names for |
| public static final int | kCGLPFAPBuffer
Attribute names for |
| public static final int | kCGLPFARemotePBuffer
Attribute names for |
| public static final int | kCGLPFARendererID
Attribute names for |
| public static final int | kCGLPFARobust
Attribute names for |
| public static final int | kCGLPFASampleAlpha
Attribute names for |
| public static final int | kCGLPFASampleBuffers
Attribute names for |
| public static final int | kCGLPFASamples
Attribute names for |
| public static final int | kCGLPFASingleRenderer
Attribute names for |
| public static final int | kCGLPFAStencilSize
Attribute names for |
| public static final int | kCGLPFAStereo
Attribute names for |
| public static final int | kCGLPFASupersample
Attribute names for |
| public static final int | kCGLPFASupportsAutomaticGraphicsSwitching
Attribute names for |
| public static final int | kCGLPFATripleBuffer
Attribute names for |
| public static final int | kCGLPFAVirtualScreenCount
Attribute names for |
| public static final int | kCGLPFAWindow
Attribute names for |
| public static final int | kCGLRGB101010_A8Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB101010Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB121212Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB161616Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB444A8Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB444Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB555A8Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB555Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB565A8Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB565Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB888A8Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGB888Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGBA16161616Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGBAFloat128Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGBAFloat256Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGBAFloat64Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGBFloat128Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGBFloat256Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRGBFloat64Bit
Color and accumulation buffer formats. |
| public static final int | kCGLRPAccelerated
Property names for |
| public static final int | kCGLRPAcceleratedCompute
Property names for |
| public static final int | kCGLRPAccumModes
Property names for |
| public static final int | kCGLRPBackingStore
Property names for |
| public static final int | kCGLRPBufferModes
Property names for |
| public static final int | kCGLRPColorModes
Property names for |
| public static final int | kCGLRPCompliant
Property names for |
| public static final int | kCGLRPDepthModes
Property names for |
| public static final int | kCGLRPDisplayMask
Property names for |
| public static final int | kCGLRPFullScreen
Property names for |
| public static final int | kCGLRPGPUFragProcCapable
Property names for |
| public static final int | kCGLRPGPUVertProcCapable
Property names for |
| public static final int | kCGLRPMaxAuxBuffers
Property names for |
| public static final int | kCGLRPMaxSampleBuffers
Property names for |
| public static final int | kCGLRPMaxSamples
Property names for |
| public static final int | kCGLRPMPSafe
Property names for |
| public static final int | kCGLRPMultiScreen
Property names for |
| public static final int | kCGLRPOffScreen
Property names for |
| public static final int | kCGLRPOnline
Property names for |
| public static final int | kCGLRPRendererCount
Property names for |
| public static final int | kCGLRPRendererID
Property names for |
| public static final int | kCGLRPRobust
Property names for |
| public static final int | kCGLRPSampleAlpha
Property names for |
| public static final int | kCGLRPSampleModes
Property names for |
| public static final int | kCGLRPStencilModes
Property names for |
| public static final int | kCGLRPTextureMemory
Property names for |
| public static final int | kCGLRPTextureMemoryMegabytes
Property names for |
| public static final int | kCGLRPVideoMemory
Property names for |
| public static final int | kCGLRPVideoMemoryMegabytes
Property names for |
| public static final int | kCGLRPWindow
Property names for |
| public static final int | kCGLSingleBufferBit
Buffer modes. |
| public static final int | kCGLStereoscopicBit
Buffer modes. |
| public static final int | kCGLSupersampleBit
Sampling modes. |
| public static final int | kCGLTripleBufferBit
Buffer modes. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||||
|---|---|---|---|---|---|---|---|---|
| public static int | CGLChoosePixelFormat(IntBuffer
a 0 terminated array that contains a list of buffer and renderer attributes. Attributes can be Boolean or integer. If an attribute is integer, you
must supply the desired value immediately following the attribute. If the attribute is Boolean, do not supply a value because its presence in the
attributes array implies a true value. One of: attribs, PointerBuffer the memory address of a pixel format object. On return, points to a new pixel format object that contains pixel format information and a list of
virtual screens. If there are no pixel formats or virtual screens that satisfy the constraints of the buffer and renderer attributes, the value of
pix is set to pix, IntBuffer NULL.on return, points to the number of virtual screens referenced by pix. If pix is npix)NULL, the value of npix is set to 0.Creates a pixel format object that satisfies the constraints of the specified buffer and renderer attributes. | |||||||
| public static int | CGLChoosePixelFormat(int[] attribs, PointerBuffer pix, int[] npix)
Array version of: | |||||||
| public static int | CGLClearDrawable(long
a rendering context ctx)Disassociates a rendering context from any drawable objects attached to it. | |||||||
| public static int | CGLCopyContext(long
the source rendering context src, long the destination rendering context dst, int a mask that specifies the state variables to copy. Pass a bit field that contains the bitwise OR of the state variable names that you want to copy.
Use the symbolic mask constants that are passed to the OpenGL function mask)PushAttrib. To copy as many state variables
as possible, supply the constant ALL_ATTRIB_BITS.Copies the specified state variables from one rendering context to another. | |||||||
| public static int | CGLCreateContext(long
a pixel format object created by calling the function pix, long ChoosePixelFormatthe rendering context with which to share the OpenGL object state — including texture objects, programs and shader display lists, vertex array
objects, vertex buffer objects, pixel buffer objects, and frame buffer objects — and the object state associated which each of these object types.
Pass share, PointerBuffer NULL to indicate that no sharing is to take place.the memory address of a context object. On return, points to a new context object with the buffers and attributes specified by the ctx)pix
parameter. If the context can not be created as specified, the value of ctx is set to NULL.Creates a CGL rendering context. | |||||||
| public static int | CGLCreatePBuffer(int
the width, in pixels, of the pixel buffer width, int the height, in pixels, of the pixel buffer height, int a constant that specifies the type of the pixel buffer target texture. One of: target, int
a constant that specifies the internal color format of the pixel buffer. The format controls whether the alpha channel of the pixel buffer is used
for texturing operations. One of: internalFormat, int
the maximum level of mipmap detail allowable. Pass 0 for a pixel buffer that is not using mipmaps. The value passed should never exceed the actual
maximum number of mipmap levels that can be represented with the given width and height. max_level, PointerBuffer on return, points to a new pixel buffer object pbuffer)Creates a pixel buffer of the specified size, compatible with the specified texture target. | |||||||
| public static int | CGLDescribePBuffer(long
a pointer to the pixel buffer object obj, IntBuffer on return, points to the width, in pixels, of the pixel buffer width, IntBuffer on return, points to the height, in pixels, of the pixel buffer height, IntBuffer on return, points to a constant that specifies the pixel buffer texture target target, IntBuffer on return, points to a constant that specifies the internal color format of the pixel buffer internalFormat, IntBuffer on return, points to the mipmap level of the pixel buffer or 0 if it doesn't use mipmaps mipmap)Retrieves information that describes the specified pixel buffer object. | |||||||
| public static int | CGLDescribePBuffer(long obj, int[] width, int[] height, int[] target, int[] internalFormat, int[] mipmap)
Array version of: | |||||||
| public static int | CGLDescribePixelFormat(long
the pixel format object to query pix, int the virtual screen number whose attribute value you want to retrieve. This value must be between 0 and the number of virtual screens minus one. pix_num, int the attribute whose value you want to obtain. One of: attrib, IntBuffer on return, points to the value of the attribute value)Retrieves the values of an attribute associated with a pixel format object. | |||||||
| public static int | CGLDescribePixelFormat(long pix, int pix_num, int attrib, int[] value)
Array version of: | |||||||
| public static int | CGLDescribeRenderer(long
an opaque renderer information object that contains a description of the renderer capabilities you want to inspect. You can obtain a renderer
information object by calling the function rend, int QueryRendererInfo. You must call DestroyRendererInfo when you no longer need this
object.the index of the renderer inside the renderer information object — a value between 0 and the number of renderers minus one. The number of renderers
can be obtained by calling rend_num, int DescribeRenderer, passing in rend, renderer number 0, and the renderer property
RPRendererCount.the renderer property whose value you want to obtain. One of: prop, IntBuffer on return, points to the value of the requested property value)Obtains the value associated with a renderer property. | |||||||
| public static int | CGLDescribeRenderer(long rend, int rend_num, int prop, int[] value)
Array version of: | |||||||
| public static int | CGLDestroyContext(long
the rendering context to destroy ctx)Frees the resources associated with a rendering context. | |||||||
| public static int | CGLDestroyPBuffer(long
the pixel buffer object whose resources you want to release pbuffer)Releases the resources associated with a pixel buffer object. | |||||||
| public static int | CGLDestroyPixelFormat(long
the pixel format object to destroy pix)Frees the memory associated with a pixel format object. | |||||||
| public static int | CGLDestroyRendererInfo(long
the renderer information object to destroy rend)Frees resources associated with a renderer information object. | |||||||
| public static int | CGLDisable(long
a rendering context ctx, int the option to disable. One of: pname)
Disables an option for a rendering context. | |||||||
| public static int | CGLEnable(long
a rendering context ctx, int the option to enable. One of: pname)
Enables an option for a rendering context. | |||||||
| public static String | CGLErrorString(int
the CGL result code constant returned from a CGL function. One of: error)Returns a string that describes the specified result code. | |||||||
| public static int | CGLFlushDrawable(long
the context object ctx)Copies the back buffer of a double-buffered context to the front buffer. | |||||||
| public static int | CGLGetContextRetainCount(long
the CGL rendering context whose retain count you wish to discover ctx)Returns the current retain count of a CGL rendering context. | |||||||
| public static long | ||||||||
| public static int | CGLGetGlobalOption(int
the name of the option whose value you want to get. One of: pname, IntBuffer
on return, a pointer to the value of the option params)Retrieves the value of a global option. | |||||||
| public static int | ||||||||
| public static int | CGLGetOffScreen(long
a rendering context ctx, IntBuffer on return, points to the width, in pixels, of the offscreen buffer. If the rendering context is not attached to an offscreen drawable object, the
value of width is set to 0. width, IntBuffer on return, points to the height, in pixels, of the offscreen buffer. If the rendering context is not attached to an offscreen drawable object, the
value of height is set to 0. height, IntBuffer on return, points to the number of bytes per row of the offscreen buffer. If the context is not attached to an offscreen drawable object, the value
of rowbytes is set to 0. rowbytes, PointerBuffer on return, points to the base address of the offscreen buffer. If the context is not attached to an offscreen drawable object, the value of
baseaddr)baseaddr is set to NULL.Retrieves an offscreen buffer and its parameters for a specified rendering context. | |||||||
| public static int | CGLGetOffScreen(long ctx, int[] width, int[] height, int[] rowbytes, PointerBuffer baseaddr)
Array version of: | |||||||
| public static int | CGLGetParameter(long
a rendering context ctx, int the parameter whose value you want to retrieve. One of: pname, IntBuffer on return, points to the value of the parameter params)Retrieves the value of a rendering context parameter. | |||||||
| public static int | ||||||||
| public static int | CGLGetPBuffer(long
a rendering context ctx, PointerBuffer on return, points to the pixel buffer object attached to the rendering context pbuffer, IntBuffer on return, points to the cube map face that is set if the pixel buffer texture target type is face, IntBuffer TEXTURE_CUBE_MAP; otherwise 0 for all other
texture target types.on return, points to the current mipmap level for drawing level, IntBuffer on return, points to the current virtual screen number, as set by the last valid call to screen)SetPBufferRetrieves a pixel buffer and its parameters for a specified rendering context. | |||||||
| public static int | CGLGetPBuffer(long ctx, PointerBuffer pbuffer, int[] face, int[] level, int[] screen)
Array version of: | |||||||
| public static int | CGLGetPBufferRetainCount(long
the pixel buffer object whose retain count you wish to retrieve pbuffer)Returns the retain count of a pixel buffer object. | |||||||
| public static long | CGLGetPixelFormat(long
the CGL rendering context whose format you want to receive ctx)Retrieves the current pixel format associated with a CGL rendering context. | |||||||
| public static int | CGLGetPixelFormatRetainCount(long
a pixel format object pix)Returns the retain count of a pixel format object. | |||||||
| public static long | CGLGetShareGroup(long
a rendering context ctx)Returns the sharegroup of the specified rendering context. | |||||||
| public static void | CGLGetVersion(IntBuffer
on return, points to the major version number of the CGL library majorvers, IntBuffer on return, points to the minor version number of the CGL library minorvers)Gets the major and minor version numbers of the CGL library. | |||||||
| public static void | ||||||||
| public static int | CGLGetVirtualScreen(long
a rendering context ctx, IntBuffer on return, points to the virtual screen associated with the context. The value is always 0 on a single-display system and –1 if the function fails
for any reason. screen)Gets the current virtual screen number associated with a rendering context. | |||||||
| public static int | ||||||||
| public static int | CGLIsEnabled(long
a rendering context ctx, int pname, IntBuffer on return, enable is set to true if the option is enabled enable)Reports whether an option is enabled for a rendering context. | |||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | CGLQueryRendererInfo(int
a bit field that contains the bitwise OR of OpenGL display masks returned by the CGDisplayIDToOpenGLDisplayMask function. If you want to obtain
information for all renderers in the system you must call CGLQueryRendererInfo once for each display bit. display_mask, PointerBuffer the memory address of a renderer information object. On return, points to a renderer information object that describes all renderers that are able
to drive the displays specified by the rend, IntBuffer display_mask parameter. If display_mask does not specify any displays, the value of
rend is set to NULL. You must call DestroyRendererInfo when you no longer need this object.on return, points to the number of renderers described in the renderer information object. If nrend)display_mask does not specify any displays,
the value of nrend is set to 0.Creates a renderer information object that contains properties and values for renderers able to drive all the specified displays in a given display mask. | |||||||
| public static int | CGLQueryRendererInfo(int display_mask, PointerBuffer rend, int[] nrend)
Array version of: | |||||||
| public static void | CGLReleaseContext(long
the rendering context to be released ctx)Decrements the retain count on a CGL rendering context. | |||||||
| public static void | CGLReleasePBuffer(long
the pixel buffer object whose resources you want to release pbuffer)Releases the resources associated with a pixel buffer object. | |||||||
| public static void | CGLReleasePixelFormat(long
the pixel format object whose reference count should be decremented pix)Decrements the reference count of a pixel format object. | |||||||
| public static long | Returns: the same context that was passed into the function.the rendering context to be retained ctx)Increments the retain count on a CGL rendering context. | |||||||
| public static long | CGLRetainPBuffer(long
the pixel buffer object whose retain count you wish to increment pbuffer)Increments the retain count on a pixel buffer object. | |||||||
| public static long | CGLRetainPixelFormat(long
the pixel format object whose reference count should be incremented pix)Increments the receiver's reference count. | |||||||
| public static int | CGLSetCurrentContext(long
the rendering context to set as the current rendering context. Pass context)NULL to release the current rendering context without assigning a new one.Sets the specified rendering context as the current rendering context. | |||||||
| public static int | CGLSetFullScreen(long
a rendering context ctx)Attaches a rendering context to its full-screen drawable object. | |||||||
| public static int | CGLSetFullScreenOnDisplay(long
a rendering context ctx, int a bit field that contains the OpenGL display mask for the screen you wish the context to cover display_mask)Attaches a rendering context to a full-screen drawable object." + This function obtains a drawable object that covers an entire screen and attaches it to the rendering context. | |||||||
| public static int | CGLSetGlobalOption(int
the name of the option whose value you want to set. One of: pname, IntBuffer
the value to set the option to params)Sets the value of a global option. | |||||||
| public static int | CGLSetGlobalOption(int
the name of the option whose value you want to set. One of: pname, int param)
Sets the value of a global option. | |||||||
| public static int | ||||||||
| public static int | CGLSetOffScreen(long
a rendering context ctx, int the width, in pixels, of the offscreen buffer width, int the height, in pixels, of the offscreen buffer height, int the number of bytes per row of the offscreen buffer, which must be greater than or equal to width times bytes per pixel rowbytes, ByteBuffer a pointer to a block of memory to use as the offscreen buffer. The size of the memory must be at least baseaddr)rowbytes*height bytes.Attaches a rendering context to an offscreen buffer. | |||||||
| public static int | CGLSetParameter(long
a rendering context ctx, int the parameter whose value you want to set. One of: pname, IntBuffer a pointer to the value to set the parameter to params)Sets the value of a rendering context parameter. | |||||||
| public static int | CGLSetParameter(long
a rendering context ctx, int the parameter whose value you want to set. One of: pname, int param)Sets the value of a rendering context parameter. | |||||||
| public static int | ||||||||
| public static int | CGLSetPBuffer(long
the rendering context to attach the pixel buffer to ctx, long a pixel buffer object pbuffer, int the cube map face to draw if the pixel buffer texture target type is face, int TEXTURE_CUBE_MAP; otherwise pass 0.the mipmap level to draw. This must not exceed the maximum mipmap level set when the pixel buffer object was created. Pass 0 for a texture target
that does not support mipmaps. level, int a virtual screen value. The virtual screen determines the renderer OpenGL uses to draw to the pixel buffer object. For best performance, for a
pixel buffer used as a texture source, you should supply the virtual screen value that results in using the same renderer used by the context
that's the texturing target. screen)Attaches a pixel buffer object to a rendering context. | |||||||
| public static int | CGLSetVirtualScreen(long
a rendering context ctx, int a virtual screen number, which must be a value between 0 and the number of virtual screens minus one. The number of virtual screens available in a
context can be obtained by calling the function screen)DescribePixelFormat, passing in the pixel format object used to create the rendering
context, 0 for the virtual screen number (pix_num parameter), and the attribute constant PFAVirtualScreenCount.Forces subsequent OpenGL commands to the specified virtual screen. | |||||||
| public static int | CGLTexImagePBuffer(long
a rendering context, which is the target context for the texture operation. This is the context that you plan to render content to. This is not the
context attached to the pixel buffer. ctx, long a pixel buffer object pbuffer, int the source buffer to get the texture from, which should be a valid OpenGL buffer such as GL_FRONT or GL_BACK and should be compatible with the
buffer and renderer attributes that you used to create the rendering context attached to the pixel buffer. This means that the pixel buffer must
possess the buffer in question for the texturing operation to succeed. source)Binds the contents of a pixel buffer to a data source for a texture object. | |||||||
| public static int | ||||||||
| public static int | CGLUpdateContext(long
a rendering context ctx)Synchronizes new renderer state to that of the application context | |||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | nCGLCreatePBuffer(int width, int height, int target, int internalFormat, int max_level, long pbuffer)
Unsafe version of: | |||||||
| public static int | nCGLDescribePBuffer(long obj, long width, long height, long target, long internalFormat, long mipmap)
Unsafe version of: | |||||||
| public static int | nCGLDescribePixelFormat(long pix, int pix_num, int attrib, long value)
Unsafe version of: | |||||||
| public static int | nCGLDescribeRenderer(long rend, int rend_num, int prop, long value)
Unsafe version of: | |||||||
| public static long | ||||||||
| public static int | ||||||||
| public static int | nCGLGetOffScreen(long ctx, long width, long height, long rowbytes, long baseaddr)
Unsafe version of: | |||||||
| public static int | ||||||||
| public static int | nCGLGetPBuffer(long ctx, long pbuffer, long face, long level, long screen)
Unsafe version of: | |||||||
| public static void | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | nCGLSetOffScreen(long ctx, int width, int height, int rowbytes, long baseaddr)
Unsafe version of: | |||||||
| public static int |