Class ScissorState
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents a configuration object for specifying the active scissor box. Any fragments falling outside the scissor box will be discarded.
public class ScissorState : StateConfiguration
- Inheritance
-
ScissorState
- 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, in normalized coordinates.
- Y
Gets or sets the y-coordinate of the lower left corner of the scissor box, in normalized coordinates.
Methods
- Execute(ShaderWindow)
Updates the state of the current graphics context.
- ToString()
Returns a string that represents the current object.