2009-02-22 11:43:35 +01:00
|
|
|
|
#region --- License ---
|
|
|
|
|
/* Licensed under the MIT/X11 license.
|
|
|
|
|
* Copyright (c) 2006-2008 the OpenTK Team.
|
|
|
|
|
* This notice may not be removed from any source distribution.
|
|
|
|
|
* See license.txt for licensing detailed licensing details.
|
|
|
|
|
*/
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Graphics
|
|
|
|
|
{
|
|
|
|
|
internal interface IGraphicsMode
|
|
|
|
|
{
|
2009-08-15 18:02:52 +02:00
|
|
|
|
// Creates a temporary OpenGL context (if necessary) and finds the mode which closest matches
|
|
|
|
|
// the specified parameters.
|
2009-02-22 11:43:35 +01:00
|
|
|
|
GraphicsMode SelectGraphicsMode(ColorFormat color, int depth, int stencil, int samples, ColorFormat accum, int buffers,
|
2009-08-15 18:02:52 +02:00
|
|
|
|
bool stereo);
|
2009-02-22 11:43:35 +01:00
|
|
|
|
}
|
|
|
|
|
}
|