GraphicsMode 构造函数

定义

重载

GraphicsMode()

使用合理的默认参数构造新的 GraphicsMode。

GraphicsMode(ColorFormat)
GraphicsMode(ColorFormat, Int32)
GraphicsMode(ColorFormat, Int32, Int32)
GraphicsMode(ColorFormat, Int32, Int32, Int32)
GraphicsMode(ColorFormat, Int32, Int32, Int32, ColorFormat)
GraphicsMode(ColorFormat, Int32, Int32, Int32, ColorFormat, Int32)
GraphicsMode(ColorFormat, Int32, Int32, Int32, ColorFormat, Int32, Boolean)

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

适用于