Class ShaderWindowSettings
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents the configuration settings used to initialize a shader window.
[TypeConverter(typeof(SettingsConverter))]
public class ShaderWindowSettings
- Inheritance
-
ShaderWindowSettings
- Inherited Members
Constructors
- ShaderWindowSettings()
Initializes a new instance of the ShaderWindowSettings class.
Properties
- ClearColor
Gets or sets the color used to clear the framebuffer before rendering.
- ClearColorHtml
Gets or sets an HTML representation of the clear color value for serialization.
- ClearMask
Gets or sets a value specifying which buffers to clear before rendering.
- CursorVisible
Gets or sets a value specifying whether to hide or show the mouse cursor over the shader window.
- DisplayDevice
Gets or sets a value specifying the display device index on which to create the shader window.
- GraphicsMode
Gets or sets a value specifying the graphics mode of the shader window.
- Height
Gets or sets the height of the shader window, in pixels.
- Location
Gets or sets a value specifying the starting location of the shader window. If no value is specified, the window will be located at the center of the screen.
- RenderState
Gets the collection of configuration objects specifying the initial render state of the shader window graphics context.
- SwapSync
Gets or sets a value specifying whether to synchronize buffer swaps across application windows.
- TargetRenderFrequency
Gets or sets a value specifying the target render frequency. A value of zero indicates the maximum possible frequency will be used to generate render events.
- TargetUpdateFrequency
Gets or sets a value specifying the target update frequency. If no value is specified, the value of the target render frequency will be used.
- Title
Gets or sets the title of the shader window.
- VSync
Gets or sets a value specifying the V-Sync configuration for shader window buffer swaps.
- Width
Gets or sets the width of the shader window, in pixels.
- WindowBorder
Gets or sets a value specifying the shader window border.
- WindowState
Gets or sets a value specifying the starting state of the shader window.