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

◆ Draw()

virtual void Terraria.UI.UIElement.Draw ( SpriteBatch spriteBatch)
inlinevirtual

Reimplemented in Terraria.GameContent.UI.States.UIAchievementsMenu, Terraria.GameContent.UI.States.UIBestiaryTest, Terraria.GameContent.UI.States.UICreativePowersMenu, and Terraria.GameContent.UI.States.UIEmotesMenu.

Definition at line 441 of file UIElement.cs.

442 {
443 bool overflowHidden = this.OverflowHidden;
444 GraphicsDevice graphicsDevice = spriteBatch.graphicsDevice;
448 int width = graphicsDevice._scissorRectangle.Width;
449 if (!overflowHidden)
450 {
451 }
452 if (useImmediateMode || this.OverrideSamplerState != null)
453 {
454 spriteBatch.End();
455 if (width == 0)
456 {
457 }
459 if (!overflowHidden)
460 {
461 }
462 if (overrideSamplerState == null)
463 {
464 }
465 if (!true)
466 {
467 }
468 spriteBatch.End();
469 if (!true)
470 {
471 }
472 if (true)
473 {
474 spriteBatch.End();
478 if (!true)
479 {
480 }
481 if (!true)
482 {
483 }
484 if (overrideSamplerState == null)
485 {
486 }
487 if (!true)
488 {
489 }
490 spriteBatch.End();
493 return;
494 }
495 }
496 else
497 {
499 while (graphicsDevice2 == null)
500 {
501 }
502 }
503 }
class f__AnonymousType0<< Count > j__TPar
SamplerState OverrideSamplerState
Rectangle GetClippingRectangle(SpriteBatch spriteBatch)
Definition UIElement.cs:519

References Microsoft.Xna.Framework.Graphics.GraphicsDevice._rasterizerState, Microsoft.Xna.Framework.Graphics.GraphicsDevice._scissorRectangle, Microsoft.Xna.Framework.Graphics.SpriteBatch.End(), Terraria.UI.UIElement.GetClippingRectangle(), Microsoft.Xna.Framework.Graphics.GraphicsResource.graphicsDevice, j__TPar, Terraria.UI.UIElement.OverflowHidden, Terraria.UI.UIElement.OverrideSamplerState, Terraria.UI.UIElement.UseImmediateMode, and Microsoft.Xna.Framework.Rectangle.Width.