Class DepthMaskState
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents a configuration object specifying whether the depth buffer is enabled for writing.
public class DepthMaskState : StateConfiguration
- Inheritance
-
DepthMaskState
- Inherited Members
Properties
Enabled
Gets or sets a value specifying whether the depth buffer is enabled for writing.
public bool Enabled { 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.