Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetDefaults()

void Microsoft.Xna.Framework.Graphics.DepthStencilState.SetDefaults ( )
inlineprivate

Definition at line 284 of file DepthStencilState.cs.

285 {
286 ThrowIfBound();
288 ThrowIfBound();
290 ThrowIfBound();
291 cachedDepthBufferFunction = CompareFunction.LessEqual;
292 ThrowIfBound();
293 cachedStencilEnable = false;
294 ThrowIfBound();
295 cachedStencilFunction = CompareFunction.Always;
296 ThrowIfBound();
297 cachedStencilPass = StencilOperation.Keep;
298 ThrowIfBound();
299 cachedStencilFail = StencilOperation.Keep;
300 ThrowIfBound();
301 cachedStencilDepthBufferFail = StencilOperation.Keep;
302 ThrowIfBound();
304 ThrowIfBound();
305 cachedCounterClockwiseStencilFunction = CompareFunction.Always;
306 ThrowIfBound();
307 cachedCounterClockwiseStencilPass = StencilOperation.Keep;
308 ThrowIfBound();
309 cachedCounterClockwiseStencilFail = StencilOperation.Keep;
310 ThrowIfBound();
311 cachedCounterClockwiseStencilDepthBufferFail = StencilOperation.Keep;
312 ThrowIfBound();
314 ThrowIfBound();
316 ThrowIfBound();
318 }

References Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedCounterClockwiseStencilDepthBufferFail, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedCounterClockwiseStencilFail, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedCounterClockwiseStencilFunction, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedCounterClockwiseStencilPass, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedDepthBufferEnable, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedDepthBufferFunction, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedDepthBufferWriteEnable, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedReferenceStencil, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedStencilDepthBufferFail, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedStencilEnable, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedStencilFail, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedStencilFunction, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedStencilMask, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedStencilPass, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedStencilWriteMask, Microsoft.Xna.Framework.Graphics.DepthStencilState.cachedTwoSidedStencilMode, and Microsoft.Xna.Framework.Graphics.DepthStencilState.ThrowIfBound().

Referenced by Microsoft.Xna.Framework.Graphics.DepthStencilState.DepthStencilState(), and Microsoft.Xna.Framework.Graphics.DepthStencilState.DepthStencilState().