GraphicsMode 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GraphicsMode()
使用合理的默认参数构造新的 GraphicsMode。
public GraphicsMode ();
适用于
GraphicsMode(ColorFormat)
public GraphicsMode (OpenTK.Graphics.ColorFormat color);
new OpenTK.Graphics.GraphicsMode : OpenTK.Graphics.ColorFormat -> OpenTK.Graphics.GraphicsMode
参数
- color
- ColorFormat
适用于
GraphicsMode(ColorFormat, Int32)
public GraphicsMode (OpenTK.Graphics.ColorFormat color, int depth);
new OpenTK.Graphics.GraphicsMode : OpenTK.Graphics.ColorFormat * int -> OpenTK.Graphics.GraphicsMode
参数
- color
- ColorFormat
- depth
- Int32
适用于
GraphicsMode(ColorFormat, Int32, Int32)
public GraphicsMode (OpenTK.Graphics.ColorFormat color, int depth, int stencil);
new OpenTK.Graphics.GraphicsMode : OpenTK.Graphics.ColorFormat * int * int -> OpenTK.Graphics.GraphicsMode
参数
- color
- ColorFormat
- depth
- Int32
- stencil
- Int32
适用于
GraphicsMode(ColorFormat, Int32, Int32, Int32)
public GraphicsMode (OpenTK.Graphics.ColorFormat color, int depth, int stencil, int samples);
new OpenTK.Graphics.GraphicsMode : OpenTK.Graphics.ColorFormat * int * int * int -> OpenTK.Graphics.GraphicsMode
参数
- color
- ColorFormat
- depth
- Int32
- stencil
- Int32
- samples
- Int32
适用于
GraphicsMode(ColorFormat, Int32, Int32, Int32, ColorFormat)
public GraphicsMode (OpenTK.Graphics.ColorFormat color, int depth, int stencil, int samples, OpenTK.Graphics.ColorFormat accum);
new OpenTK.Graphics.GraphicsMode : OpenTK.Graphics.ColorFormat * int * int * int * OpenTK.Graphics.ColorFormat -> OpenTK.Graphics.GraphicsMode
参数
- color
- ColorFormat
- depth
- Int32
- stencil
- Int32
- samples
- Int32
- accum
- ColorFormat
适用于
GraphicsMode(ColorFormat, Int32, Int32, Int32, ColorFormat, Int32)
public GraphicsMode (OpenTK.Graphics.ColorFormat color, int depth, int stencil, int samples, OpenTK.Graphics.ColorFormat accum, int buffers);
new OpenTK.Graphics.GraphicsMode : OpenTK.Graphics.ColorFormat * int * int * int * OpenTK.Graphics.ColorFormat * int -> OpenTK.Graphics.GraphicsMode
参数
- color
- ColorFormat
- depth
- Int32
- stencil
- Int32
- samples
- Int32
- accum
- ColorFormat
- buffers
- Int32
适用于
GraphicsMode(ColorFormat, Int32, Int32, Int32, ColorFormat, Int32, Boolean)
public GraphicsMode (OpenTK.Graphics.ColorFormat color, int depth, int stencil, int samples, OpenTK.Graphics.ColorFormat accum, int buffers, bool stereo);
new OpenTK.Graphics.GraphicsMode : OpenTK.Graphics.ColorFormat * int * int * int * OpenTK.Graphics.ColorFormat * int * bool -> OpenTK.Graphics.GraphicsMode
参数
- color
- ColorFormat
- depth
- Int32
- stencil
- Int32
- samples
- Int32
- accum
- ColorFormat
- buffers
- Int32
- stereo
- Boolean