Contents

getValues(_:for:)

Returns the value of the requested parameter.

Declaration

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

Parameters

  • vals:

    On input, a pointer to a variable with enough space for one or more long integers. On output, the variable contains the value (or values) for the given parameter.

  • param:

    The parameter you want to get. For a list of parameters, see the table in Parameter.

See Also

Context Parameter Handling