Lingua

NSOpenGLPixelFormatAttribute Enum

Definition

Specifies an attribute used to describe the capabilities requested when creating an NSOpenGLPixelFormat.

public enum NSOpenGLPixelFormatAttribute
type NSOpenGLPixelFormatAttribute = 
Inheritance
NSOpenGLPixelFormatAttribute

Fields

Name Value Description
AllRenderers 1

Chooses from among all available renderers, instead of only accelerated ones.

TripleBuffer 3

Requests a triple-buffered context.

DoubleBuffer 5

Requests a double-buffered context.

Stereo 6

Requests a stereoscopic (left- and right-eye) rendering context.

AuxBuffers 7

Specifies the number of auxiliary buffers.

ColorSize 8

Specifies the number of bits per color buffer.

AlphaSize 11

Specifies the number of bits in the alpha component of the color buffer.

DepthSize 12

Specifies the number of bits in the depth buffer.

StencilSize 13

Specifies the number of bits in the stencil buffer.

AccumSize 14

Specifies the number of bits per component in the accumulation buffer.

MinimumPolicy 51

Chooses a renderer whose capabilities meet or exceed, but most closely match, the minimum requested values.

MaximumPolicy 52

Prefers the largest available color, depth, and accumulation buffers when a nonzero size is requested.

OffScreen 53

Requests a renderer capable of rendering to an offscreen buffer.

FullScreen 54

Requests a renderer capable of rendering to the full screen.

SampleBuffers 55

Specifies the number of multisample buffers.

Samples 56

Specifies the number of samples per pixel used for multisampling.

AuxDepthStencil 57

Requests that auxiliary buffers have their own depth and stencil buffers.

ColorFloat 58

Requests floating-point color buffer components.

Multisample 59

Requests multisample antialiasing.

Supersample 60

Requests supersample antialiasing.

SampleAlpha 61

Requests that the alpha channel be filtered, rather than only color components, when using multisample antialiasing.

RendererID 70

Requests a renderer matching a specific renderer identifier.

SingleRenderer 71

Requires that all displays use the same renderer.

NoRecovery 72

Disallows falling back to a software renderer if a hardware-accelerated renderer is not available.

Accelerated 73

Requests a hardware-accelerated renderer.

ClosestPolicy 74

Chooses the renderer whose capabilities most closely match the requested attribute values.

Robust 75

Requests a renderer that guards against corruption caused by other running applications.

BackingStore 76

Requests that the contents of the back buffer be preserved after a buffer swap, rather than becoming undefined.

MPSafe 78

Requests a multiprocessor-safe renderer.

Window 80

Requests a renderer capable of rendering to a window.

MultiScreen 81

Requests a renderer capable of driving multiple displays.

Compliant 83

Requests a fully OpenGL-compliant renderer.

ScreenMask 84

Specifies a bitmask of the displays on which the pixel format is usable.

PixelBuffer 90

Requests a renderer capable of rendering to a pixel buffer.

RemotePixelBuffer 91

Requests a renderer capable of rendering to a pixel buffer for use with a remote context.

AllowOfflineRenderers 96

Allows the pixel format to use renderers that are not attached to a display.

AcceleratedCompute 97

Requests a renderer with hardware-accelerated compute support.

OpenGLProfile 99

Specifies the OpenGL profile (version) requested, as an NSOpenGLProfile value.

VirtualScreenCount 128

Specifies the number of virtual screens described by the pixel format.

Applies to