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

◆ OnResetDevice()

unsafe void Microsoft.Xna.Framework.Graphics.Effect.OnResetDevice ( )
inlinepackageinherited

Definition at line 353 of file Effect.cs.

354 {
356 Helpers.CheckDisposed(this, intPtr);
358 int num = ((delegate* unmanaged[Stdcall, Stdcall]<IntPtr, int>)(int)(*(uint*)(*(int*)intPtr2 + 280)))((nint)intPtr2);
359 if (num < 0)
360 {
361 throw GraphicsHelpers.GetExceptionFromResult((uint)num);
362 }
363 }

References Microsoft.Xna.Framework.Helpers.CheckDisposed(), Microsoft.Xna.Framework.Graphics.GraphicsHelpers.GetExceptionFromResult(), and Microsoft.Xna.Framework.Graphics.Effect.pComPtr.

Referenced by Microsoft.Xna.Framework.Graphics.DeviceResourceManager.RecreateResources().