Instance Method

getValues:forParameter:

Returns the value of the requested parameter.

Declaration

- (void)getValues:(GLint *)vals forParameter:(NSOpenGLContextParameter)param;

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 NSOpenGLContextParameter.

See Also

Context Parameter Handling

- setValues:forParameter:

Sets the value of the specified parameter.

Deprecated