Table of Contents

Class DepthFunctionState

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

Represents a configuration object specifying the function used for depth buffer comparisons.

public class DepthFunctionState : StateConfiguration
Inheritance
DepthFunctionState
Inherited Members

Properties

Function

Gets or sets a value specifying the function used for depth buffer comparisons.

public DepthFunction Function { get; set; }

Property Value

DepthFunction

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.