Class GraphicsModeConfiguration
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents a configuration object for defining the format for all graphics operations in the graphics context.
public class GraphicsModeConfiguration
- Inheritance
-
GraphicsModeConfiguration
- Inherited Members
Properties
AccumulatorFormat
Gets or sets a value specifying the color format of the accumulator buffer.
public ColorFormatConfiguration AccumulatorFormat { get; set; }
Property Value
Buffers
Gets or sets the number of render buffers. Typical values include one (single-), two (double-) or three (triple-buffering).
public int Buffers { get; set; }
Property Value
ColorFormat
Gets or sets a value specifying the color format of the color buffer.
public ColorFormatConfiguration ColorFormat { get; set; }
Property Value
Depth
Gets or sets the number of bits in the depth buffer.
public int Depth { get; set; }
Property Value
Samples
Gets or sets the number of samples to use for full screen anti-aliasing.
public int Samples { get; set; }
Property Value
Stencil
Gets or sets the number of bits in the stencil buffer.
public int Stencil { get; set; }
Property Value
Stereo
Gets or sets a value specifying whether to create a graphics mode with stereo capabilities.
public bool Stereo { get; set; }
Property Value
Methods
CreateGraphicsMode()
Creates a new instance of the GraphicsMode class specifying the format for graphics operations.
public GraphicsMode CreateGraphicsMode()
Returns
- GraphicsMode
A new instance of the GraphicsMode class using the specified format properties of this configuration object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.