MonobjcMonobjc Documented Class Library
CGLRendererProperty Enumeration
NamespacesMonobjc.OpenGLCGLRendererProperty

Specify renderer properties.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum CGLRendererProperty
Public Enumeration CGLRendererProperty
public enum class CGLRendererProperty
Members
MemberDescription
kCGLRPOffScreen

This constant is a Boolean attribute. If true, the renderer supports offscreen drawable objects.

Available in Mac OS X v10.0 and later.


kCGLRPFullScreen

This constant is a Boolean attribute. If true, the renderer supports full screen drawable objects.

Available in Mac OS X v10.0 and later.


kCGLRPRendererID

The associated value is the renderer ID. Renderer ID constants are associated with specific hardware vendors. See “Renderer IDs.”

Available in Mac OS X v10.0 and later.


kCGLRPAccelerated

This constant is a Boolean attribute. If true, the renderer is hardware accelerated.

Available in Mac OS X v10.0 and later.


kCGLRPRobust

This constant is a Boolean attribute. If true, the renderer does not have any failure modes caused by a lack of video card resources.

Available in Mac OS X v10.0 and later.


kCGLRPBackingStore

This constant is a Boolean attribute. If true, the renderer can provide a back color buffer the full size of the drawable object and can guarantee the back buffer contents to be valid after a call to CGLFlushDrawable.

Available in Mac OS X v10.0 and later.


kCGLRPMPSafe

This constant is a Boolean attribute. If true, the renderer is thread-safe. All renderers are thread-safe in Mac OS X.

Available in Mac OS X v10.0 and later.


kCGLRPWindow

This constant is a Boolean attribute. If true, the renderer supports window drawable objects.

Available in Mac OS X v10.0 and later.


kCGLRPMultiScreen

This constant is a Boolean attribute. If true, the renderer is presently attached to multiple displays.

Available in Mac OS X v10.0 and later.


kCGLRPCompliant

This constant is a Boolean attribute. If true, the renderer is OpenGL compliant. All renderers are OpenGL compliant in Mac OS X.

Available in Mac OS X v10.0 and later.


kCGLRPDisplayMask

The associated value is a bit mask of physical displays that the renderer can drive. The bit mask is managed by Quartz Display Services. A CGDirectDisplayID data type must be converted to an OpenGL display mask using the function CGDisplayIDToOpenGLDisplayMask. For more information on this function, see Quartz Display Services Reference.

Available in Mac OS X v10.0 and later.


kCGLRPBufferModes

The associated value is the bitwise OR of buffer mode flags supported by the renderer. The value can be any of the constants defined in “Buffer Mode Flags.”

Available in Mac OS X v10.0 and later.


kCGLRPColorModes

The associated value is the bitwise OR of color format flags supported by the renderer. The value can be any of the constants defined in “Color and Accumulation Buffer Format Flags.”

Available in Mac OS X v10.0 and later.


kCGLRPAccumModes

The associated value is the bitwise OR of color/accumulation buffer format flags supported by the renderer. The value can be any of the constants defined in “Color and Accumulation Buffer Format Flags.”

Available in Mac OS X v10.0 and later.


kCGLRPDepthModes

The associated value is the bitwise OR of depth/stencil buffer depth flags supported by the renderer. The value can be any of the constants defined in “Stencil and Depth Modes.”

Available in Mac OS X v10.0 and later.


kCGLRPStencilModes

The associated value is the bitwise OR of depth/stencil buffer depth flags supported by the renderer. The value can be any of the constants defined in “Stencil and Depth Modes.”

Available in Mac OS X v10.0 and later.


kCGLRPMaxAuxBuffers

The associated value is the maximum number of auxiliary buffers supported by the renderer.

Available in Mac OS X v10.0 and later.


kCGLRPMaxSampleBuffers

The associated value is the maximum number of independent sample buffers supported by the renderer. Typically, the value is 0 if no multisample buffer exists, or 1 if one exists.

Available in Mac OS X v10.1 and later.


kCGLRPMaxSamples

The associated value is the maximum number of samples per pixel that the renderer supports.

Available in Mac OS X v10.1 and later.


kCGLRPSampleModes

A bit field of supported sample modes.

Available in Mac OS X v10.3 and later.


kCGLRPSampleAlpha

If true, there is support for alpha sampling.

Available in Mac OS X v10.3 and later.


kCGLRPVideoMemory

The associated value is the number of bytes of video memory available to the renderer.

Available in Mac OS X v10.0 and later.


kCGLRPTextureMemory

The associated value is the number of bytes of texture memory available to the renderer.

Available in Mac OS X v10.0 and later.


kCGLRPGPUVertProcCapable

This constant is a Boolean attribute. If true, the renderer is capable of running vertex shader programs.

Available in Mac OS X v10.4 and later.


kCGLRPGPUFragProcCapable

This constant is a Boolean attribute. If true, the renderer is capable of running fragment shader programs.

Available in Mac OS X v10.4 and later.


kCGLRPRendererCount

The associated value is the number of renderers in a specific renderer information object. To determine the number of renderers in a renderer information object, call the function CGLDescribeRenderer, passing in the object, renderer number 0, and this renderer property.

Available in Mac OS X v10.0 and later.


kCGLRPOnline

This constant is a Boolean attribute. If true, the renderer is currently attached to a display.

Available in Mac OS X v10.5 and later.


kCGLRPAcceleratedCompute

This constant is a Boolean attribute. If true, the device is capable of running OpenCL programs.

Available in Mac OS X v10.6 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.OpenGL (Module: Monobjc.OpenGL)