DepthStencilStates Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Known values for DepthStencilStateDescription.
System.Object →
DepthStencilStates
Derived from DepthStencilStates:
public static class DepthStencilStates
| Name | Description | |
|---|---|---|
| Fields | ||
| Default | A built-in state object with default settings for using a depth stencil buffer. |
|
| DefaultInverse | A built-in state object with default settings using greater comparison for Z. |
|
| DepthRead | A built-in state object with settings for enabling a read-only depth stencil buffer. |
|
| None | A built-in state object with settings for not using a depth stencil buffer. |
|
Fields
Default
A built-in state object with default settings for using a depth stencil buffer.
public static readonly DepthStencilStateDescription Default
Field Value
| Type | Description |
|---|---|
| DepthStencilStateDescription |
DefaultInverse
A built-in state object with default settings using greater comparison for Z.
public static readonly DepthStencilStateDescription DefaultInverse
Field Value
| Type | Description |
|---|---|
| DepthStencilStateDescription |
DepthRead
A built-in state object with settings for enabling a read-only depth stencil buffer.
public static readonly DepthStencilStateDescription DepthRead
Field Value
| Type | Description |
|---|---|
| DepthStencilStateDescription |
None
A built-in state object with settings for not using a depth stencil buffer.
public static readonly DepthStencilStateDescription None
Field Value
| Type | Description |
|---|---|
| DepthStencilStateDescription |