Lingua

NSOpenGLContextParameter Enum

Definition

Specifies a parameter that can be set or queried on an NSOpenGLContext.

[ObjCRuntime.Native]
public enum NSOpenGLContextParameter
[<ObjCRuntime.Native>]
type NSOpenGLContextParameter = 
Inheritance
NSOpenGLContextParameter
Attributes

Fields

Name Value Description
SwapRectangle 200

The rectangle used for a partial screen swap operation.

SwapRectangleEnable 201

Enables or disables the use of a partial screen swap rectangle.

RasterizationEnable 221

Enables or disables rasterization.

SwapInterval 222

Controls whether buffer swaps are synchronized with the display's vertical refresh rate.

SurfaceOrder 235

Controls whether the surface is displayed above or below its window, as specified by an NSSurfaceOrder value.

SurfaceOpacity 236

Controls whether the surface is opaque or supports transparency.

StateValidation 301

Validates the context's state before each rendering call, which is useful for debugging.

SurfaceBackingSize 304

Sets the size of the surface's offscreen backing store.

SurfaceSurfaceVolatile 306

Indicates that the surface's contents are volatile and do not need to be preserved.

ReclaimResources 308

Reclaims graphics resources associated with the context that are no longer needed.

CurrentRendererID 309

The identifier of the renderer currently used by the context.

GpuVertexProcessing 310

Indicates whether the current renderer performs vertex processing on the GPU.

GpuFragmentProcessing 311

Indicates whether the current renderer performs fragment processing on the GPU.

HasDrawable 314

Indicates whether the context currently has a drawable object attached.

MpsSwapsInFlight 315

The number of buffer swaps that can be queued and not yet completed.

Applies to