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

◆ OnLostDevice()

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

Definition at line 341 of file Effect.cs.

342 {
344 Helpers.CheckDisposed(this, intPtr);
346 int num = ((delegate* unmanaged[Stdcall, Stdcall]<IntPtr, int>)(int)(*(uint*)(*(int*)intPtr2 + 276)))((nint)intPtr2);
347 if (num < 0)
348 {
349 throw GraphicsHelpers.GetExceptionFromResult((uint)num);
350 }
351 }

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