Table of Contents

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

MaterialFace

Mode

Gets or sets a value specifying how polygons will be rasterized.

public PolygonMode Mode { get; set; }

Property Value

PolygonMode

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.