GraphicsMode Class

Definition

Defines the format for graphics operations.

public class GraphicsMode : IEquatable<OpenTK.Graphics.GraphicsMode>
type GraphicsMode = class
    interface IEquatable<GraphicsMode>
Inheritance
GraphicsMode
Implements

Constructors

GraphicsMode()

Constructs a new GraphicsMode with sensible default parameters.

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)

Properties

AccumulatorFormat

Gets an OpenTK.Graphics.ColorFormat that describes the accumulator format for this GraphicsFormat.

Buffers

Gets a System.Int32 containing the number of buffers associated with this DisplayMode.

ColorFormat

Gets an OpenTK.Graphics.ColorFormat that describes the color format for this GraphicsFormat.

Default

Returns an OpenTK.GraphicsFormat compatible with the underlying platform.

Depth

Gets a System.Int32 that contains the bits per pixel for the depth buffer for this GraphicsFormat.

Index

Gets a nullable T:System.IntPtr value, indicating the platform-specific index for this GraphicsMode.

Samples

Gets a System.Int32 that contains the number of FSAA samples per pixel for this GraphicsFormat.

Stencil

Gets a System.Int32 that contains the bits per pixel for the stencil buffer of this GraphicsFormat.

Stereo

Gets a System.Boolean indicating whether this DisplayMode is stereoscopic.

Methods

Equals(GraphicsMode)
Equals(Object)
GetHashCode()
ToString()

Returns a System.String describing the current GraphicsFormat.

Applies to