Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.DepthStencilState Class Reference

Public Member Functions

 DepthStencilState ()
 
override string ToString ()
 
virtual void Dispose ()
 

Static Public Attributes

static readonly DepthStencilState None = new DepthStencilState(depthEnable: false, depthWriteEnable: false, "DepthStencilState.None")
 
static readonly DepthStencilState Default = new DepthStencilState(depthEnable: true, depthWriteEnable: true, "DepthStencilState.Default")
 
static readonly DepthStencilState DepthRead = new DepthStencilState(depthEnable: true, depthWriteEnable: false, "DepthStencilState.DepthRead")
 

Protected Member Functions

override void Dispose ([MarshalAs(UnmanagedType.U1)] bool P_0)
 
void raise_Disposing (object value0, EventArgs value1)
 

Protected Attributes

GraphicsDevice _parent
 

Package Functions

unsafe void Apply (GraphicsDevice device)
 
void ThrowIfBound ()
 

Package Attributes

bool cachedDepthBufferEnable
 
bool cachedDepthBufferWriteEnable
 
CompareFunction cachedDepthBufferFunction
 
bool cachedStencilEnable
 
CompareFunction cachedStencilFunction
 
StencilOperation cachedStencilPass
 
StencilOperation cachedStencilFail
 
StencilOperation cachedStencilDepthBufferFail
 
bool cachedTwoSidedStencilMode
 
CompareFunction cachedCounterClockwiseStencilFunction
 
StencilOperation cachedCounterClockwiseStencilPass
 
StencilOperation cachedCounterClockwiseStencilFail
 
StencilOperation cachedCounterClockwiseStencilDepthBufferFail
 
int cachedStencilMask
 
int cachedStencilWriteMask
 
int cachedReferenceStencil
 
bool isBound
 
_D3DCMPFUNC d3dDepthBufferFunction
 
_D3DCMPFUNC d3dStencilFunction
 
_D3DSTENCILOP d3dStencilPass
 
_D3DSTENCILOP d3dStencilFail
 
_D3DSTENCILOP d3dStencilDepthBufferFail
 
_D3DCMPFUNC d3dCounterClockwiseStencilFunction
 
_D3DSTENCILOP d3dCounterClockwiseStencilPass
 
_D3DSTENCILOP d3dCounterClockwiseStencilFail
 
_D3DSTENCILOP d3dCounterClockwiseStencilDepthBufferFail
 
ulong _internalHandle
 
bool isDisposed
 

Properties

int ReferenceStencil [get, set]
 
int StencilWriteMask [get, set]
 
int StencilMask [get, set]
 
StencilOperation CounterClockwiseStencilDepthBufferFail [get, set]
 
StencilOperation CounterClockwiseStencilFail [get, set]
 
StencilOperation CounterClockwiseStencilPass [get, set]
 
CompareFunction CounterClockwiseStencilFunction [get, set]
 
bool TwoSidedStencilMode [get, set]
 
StencilOperation StencilDepthBufferFail [get, set]
 
StencilOperation StencilFail [get, set]
 
StencilOperation StencilPass [get, set]
 
CompareFunction StencilFunction [get, set]
 
bool StencilEnable [get, set]
 
CompareFunction DepthBufferFunction [get, set]
 
bool DepthBufferWriteEnable [get, set]
 
bool DepthBufferEnable [get, set]
 
bool IsDisposed [get]
 
object Tag [get, set]
 
string Name [get, set]
 
GraphicsDevice GraphicsDevice [get]
 
EventHandler< EventArgsDisposing
 

Private Member Functions

void SetDefaults ()
 
 DepthStencilState ([MarshalAs(UnmanagedType.U1)] bool depthEnable, [MarshalAs(UnmanagedType.U1)] bool depthWriteEnable, string name)
 
void _007EDepthStencilState ()
 
void _0021GraphicsResource ()
 
void _007EGraphicsResource ()
 

Private Attributes

string _localName
 
object _localTag
 
EventHandler< EventArgs_003Cbacking_store_003EDisposing
 

Detailed Description

Definition at line 8 of file DepthStencilState.cs.


The documentation for this class was generated from the following file: