Monobjc.AppKit.NSOpenGLContext.SetValuesForParameter C# (CSharp) Method

SetValuesForParameter() public method

Sets the value of the specified parameter.

Original signature is '- (void)setValues:(const GLint *)vals forParameter:(NSOpenGLContextParameter)param'

Available in Mac OS X v10.0 and later.

public SetValuesForParameter ( Object vals, NSOpenGLContextParameter param ) : void
vals Object The new value (or values) for the parameter.
param NSOpenGLContextParameter The parameter you want to modify. For a list of parameters, see NSOpenGLContextParameter.
return void
        public virtual void SetValuesForParameter(Object[] vals, NSOpenGLContextParameter param)
        {
            int[] values = vals.Select(Convert.ToInt32).ToArray();
            this.SetValuesForParameter(values, param);
        }

Same methods

NSOpenGLContext::SetValuesForParameter ( int vals, NSOpenGLContextParameter param ) : void
NSOpenGLContext