public class DepthStencilState extends GraphicsResource
Modifier and Type | Field and Description |
---|---|
static DepthStencilState |
Default
A built-in state object with default settings for using a depth stencil buffer.
|
static DepthStencilState |
DepthRead
A built-in state object with settings for enabling a read-only depth stencil buffer.
|
static DepthStencilState |
None
A built-in state object with settings for not using a depth stencil buffer.
|
_parent, Disposing, Name, Tag
Constructor and Description |
---|
DepthStencilState()
Creates an instance of DepthStencilState with default values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDepthBufferEnable() |
void |
setDepthBufferEnable(boolean value)
Enables or disables depth buffering.
|
Dispose, Dispose, finalize, getGraphicsDevice, IsDisposed, raise_disposing, toString
public static final DepthStencilState Default
public static final DepthStencilState DepthRead
public static final DepthStencilState None