Table of Contents

Class EnableState

Namespace
Bonsai.Shaders.Configuration
Assembly
Bonsai.Shaders.dll

Represents a configuration object for enabling the specified render state capability.

public class EnableState : StateConfiguration
Inheritance
EnableState
Inherited Members

Properties

Capability

Gets or sets a value specifying the render state capability to enable.

public EnableCap Capability { get; set; }

Property Value

EnableCap

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.