terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ BlendState() [3/4]

Microsoft.Xna.Framework.Graphics.BlendState.BlendState ( BlendState cloneSource)
inlineprivate

Definition at line 469 of file BlendState.cs.

470 {
472 this.<Name>k__BackingField = <Name>k__BackingField;
473 Blend alphaSourceBlend = cloneSource._targetBlendState._alphaSourceBlend;
474 TargetBlendState targetBlendState;
475 if (targetBlendState == null || targetBlendState != null)
476 {
477 TargetBlendState[] targetBlendState2 = cloneSource._targetBlendState;
478 TargetBlendState[] targetBlendState3 = this._targetBlendState;
479 TargetBlendState targetBlendState4 = targetBlendState.Clone(this);
480 if (targetBlendState4 == null || targetBlendState4 != null)
481 {
483 TargetBlendState[] targetBlendState5 = cloneSource._targetBlendState;
484 TargetBlendState[] targetBlendState6 = this._targetBlendState;
486 TargetBlendState targetBlendState7;
487 if (targetBlendState7 == null || targetBlendState7 != null)
488 {
490 TargetBlendState[] targetBlendState8 = cloneSource._targetBlendState;
491 TargetBlendState[] targetBlendState9 = this._targetBlendState;
492 TargetBlendState targetBlendState10 = targetBlendState7.Clone(this);
493 if (targetBlendState10 == null || targetBlendState10 != null)
494 {
495 int multiSampleMask = cloneSource._multiSampleMask;
497 bool independentBlendEnable = cloneSource._independentBlendEnable;
499 return;
500 }
501 }
502 }
503 }
504 throw new ArrayTypeMismatchException();
505 }
class f__AnonymousType0<< Count > j__TPar
readonly TargetBlendState[] _targetBlendState
TargetBlendState Clone(BlendState parent)

References Microsoft.Xna.Framework.Graphics.TargetBlendState._colorWriteChannels, Microsoft.Xna.Framework.Graphics.BlendState._targetBlendState, Microsoft.Xna.Framework.Graphics.TargetBlendState.Clone(), j__TPar, Microsoft.Xna.Framework.Graphics.GraphicsResource.k__BackingField, and Microsoft.Xna.Framework.Graphics.GraphicsResource.Name.