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

◆ GraphicsDeviceCreated()

void Microsoft.Xna.Framework.Graphics.GuideRenderer.GraphicsDeviceCreated ( object sender,
EventArgs e )
inlineprivate

Definition at line 96 of file GuideRenderer.cs.

97 {
99 {
100 throw new InvalidOperationException(FrameworkResources.NoGraphicsDevice);
101 }
102 GraphicsDeviceReset(sender, e);
103 graphicsDevice.DrawGuide += DrawGuide;
104 }
unsafe void GraphicsDeviceReset(object sender, EventArgs e)
unsafe void DrawGuide(object sender, EventArgs e)

References Microsoft.Xna.Framework.Graphics.GuideRenderer.DrawGuide(), Microsoft.Xna.Framework.Graphics.GuideRenderer.graphicsDevice, Microsoft.Xna.Framework.Graphics.IGraphicsDeviceService.GraphicsDevice, Microsoft.Xna.Framework.Graphics.GuideRenderer.GraphicsDeviceReset(), Microsoft.Xna.Framework.Graphics.GuideRenderer.graphicsDeviceService, and Microsoft.Xna.Framework.FrameworkResources.NoGraphicsDevice.

Referenced by Microsoft.Xna.Framework.Graphics.GuideRenderer.GuideRenderer(), and Microsoft.Xna.Framework.Graphics.GuideRenderer._007EGuideRenderer().