Table of Contents

Class ClearColorState

Namespace
Bonsai.Shaders.Configuration
Assembly
Bonsai.Shaders.dll

Represents a configuration object specifying the color used to clear the framebuffer.

public class ClearColorState : StateConfiguration
Inheritance
ClearColorState
Inherited Members

Properties

ClearColor

Gets or sets a value specifying the color used to clear the framebuffer before rendering.

public Color ClearColor { get; set; }

Property Value

Color

ClearColorHtml

Gets or sets an HTML representation of the clear color value for serialization.

[Browsable(false)]
public string ClearColorHtml { get; set; }

Property Value

string

Methods

Execute(ShaderWindow)

Updates the state of the current graphics context.

public override void Execute(ShaderWindow window)

Parameters

window ShaderWindow

The shader window associated with the current graphics context.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.