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

◆ InitializeHelpers()

unsafe void Microsoft.Xna.Framework.Graphics.Effect.InitializeHelpers ( )
inlineprivateinherited

Definition at line 70 of file Effect.cs.

71 {
73 Helpers.CheckDisposed(this, intPtr);
76 int num = ((delegate* unmanaged[Stdcall, Stdcall]<IntPtr, _D3DXEFFECT_DESC*, int>)(int)(*(uint*)(*(int*)ptr + 12)))((nint)ptr, &d3DXEFFECT_DESC);
77 if (num < 0)
78 {
79 throw GraphicsHelpers.GetExceptionFromResult((uint)num);
80 }
81 EffectTechniqueCollection effectTechniqueCollection = pTechniqueCollection;
82 if (effectTechniqueCollection != null && pParamCollection != null)
83 {
86 }
87 else
88 {
91 }
92 }
unsafe void UpdateParent(ID3DXBaseEffect *parent, sbyte *parameter, [MarshalAs(UnmanagedType.U1)] bool arrayElements)
EffectParameterCollection pParamCollection
Definition Effect.cs:15
EffectTechniqueCollection pTechniqueCollection
Definition Effect.cs:13

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

Referenced by Microsoft.Xna.Framework.Graphics.Effect.Effect(), Microsoft.Xna.Framework.Graphics.Effect.Effect(), Microsoft.Xna.Framework.Graphics.Effect.CreateEffectFromCode(), Microsoft.Xna.Framework.Graphics.Effect.OnObjectCreation(), and Microsoft.Xna.Framework.Graphics.Effect.RecreateAndPopulateObject().