Class PolygonModeState
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents a configuration object for specifying the polygon rasterization mode.
public class PolygonModeState : StateConfiguration
- Inheritance
-
PolygonModeState
- Inherited Members
Properties
Face
Gets or sets a value specifying the polygons that the rasterization mode applies to.
public MaterialFace Face { get; set; }
Property Value
Mode
Gets or sets a value specifying how polygons will be rasterized.
public PolygonMode Mode { get; set; }
Property Value
Methods
Execute(ShaderWindow)
Updates the state of the current graphics context.
public override void Execute(ShaderWindow window)
Parameters
window
ShaderWindowThe 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.