Instance Method

setValues(_:for:)

Sets the value of the specified parameter.

Declaration

func setValues(_ vals: UnsafePointer<GLint>, for param: NSOpenGLContext.Parameter)

Parameters

vals

The new value (or values) for the parameter.

param

The parameter you want to modify. For a list of parameters, see NSOpenGLContext.Parameter.

See Also

Context Parameter Handling

func getValues(UnsafeMutablePointer<GLint>, for: NSOpenGLContext.Parameter)

Returns the value of the requested parameter.

Deprecated