|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMicrosoft.Xna.Framework.Graphics.GraphicsResource
Microsoft.Xna.Framework.Graphics.DepthStencilState
public class DepthStencilState
Contains depth-stencil state for the device.
Field Summary | |
---|---|
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. |
Fields inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource |
---|
_parent, Disposing, Name, Tag |
Constructor Summary | |
---|---|
DepthStencilState()
Creates an instance of DepthStencilState with default values. |
Method Summary | |
---|---|
boolean |
getDepthBufferEnable()
|
void |
setDepthBufferEnable(boolean value)
Enables or disables depth buffering. |
Methods inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource |
---|
Dispose, Dispose, finalize, GraphicsDevice, IsDisposed, raise_disposing, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DepthStencilState Default
public static final DepthStencilState DepthRead
public static final DepthStencilState None
Constructor Detail |
---|
public DepthStencilState()
Method Detail |
---|
public boolean getDepthBufferEnable()
public void setDepthBufferEnable(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |