Class UpdateClearColorState
Represents an operator that updates the clear color state of the shader window.
public class UpdateClearColorState : Sink
- Inheritance
-
UpdateClearColorState
- Inherited Members
Properties
ClearColor
Gets or sets the color used to clear the framebuffer before rendering.
public Color ClearColor { get; set; }
Property Value
ClearColorHtml
Gets or sets an XML representation of the clear color for serialization.
[Browsable(false)]
public string ClearColorHtml { get; set; }
Property Value
Methods
Process<TSource>(IObservable<TSource>)
Updates the clear color state of the shader window whenever an observable sequence emits a notification.
public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used to update the clear color state of the shader window.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of updating the clear color of the shader window whenever the sequence emits a notification.
Type Parameters
TSource
The type of the elements in the
source
sequence.