Table of Contents

Class UpdateScissorState

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that updates the active scissor box in the shader window. Any fragments falling outside the scissor box will be discarded.

public class UpdateScissorState : Sink
Inheritance
UpdateScissorState
Inherited Members

Properties

Height

Gets or sets the height of the scissor box, in normalized coordinates.

Width

Gets or sets the width of the scissor box, in normalized coordinates.

X

Gets or sets the x-coordinate of the lower left corner of the scissor box.

Y

Gets or sets the y-coordinate of the lower left corner of the scissor box.

Methods

Process<TSource>(IObservable<TSource>)

Updates the active scissor box in the shader window whenever an observable sequence emits a notification.