49 if (
value._parent !=
this)
54 if (activePass !=
null)
57 _parent.activePass =
null;
105 string text =
"effectCode";
108 if (graphicsDevice ==
null)
118 if (*
ptr3 == 3169848271
u)
122 if ((nint)effectCode.LongLength >= (int)(
num2 + 4))
125 if (*(
int*)
ptr4 == -16840447)
128 *(
int*)((
byte*)pStateTracker + 92) = 0;
129 *(
int*)((
byte*)pStateTracker + 96) = 0;
130 *(
int*)((
byte*)pStateTracker + 100) = 0;
140 uint
num4 = *(uint*)((
byte*)pStateTracker + 92);
145 uint
num5 = *(uint*)((
byte*)pStateTracker + 96);
154 int num6 = *(
int*)((
byte*)pStateTracker + 100);
187 current._textureFlags = *
ptr3;
215 return string.Format(
args:
new object[2]
225 ((object)
this)._002Ector();
422 num =
effect2.RecreateAndPopulateObject();
452 if (parent !=
null &&
pComPtr !=
null)
485 effect.isDisposed =
false;
static string NullNotAllowed
static string ArrayMultipleFour
static string DeviceCannotBeNullOnResourceCreate
static string ProfileVertexShaderModel
static string MustUserShaderCode
static string ProfilePixelShaderModel
unsafe object GetCachedObject(void *pComPtr)
unsafe void AddTrackedObject(object managedObject, void *pComPtr, uint resourceManagementMode, ulong handle, ref ulong updatedHandle)
unsafe void ReleaseAllReferences(ulong handle, [MarshalAs(UnmanagedType.U1)] bool dispose)
unsafe void UpdateParent(ID3DXBaseEffect *parent, sbyte *parameter, [MarshalAs(UnmanagedType.U1)] bool arrayElements)
void SaveDataForRecreation()
List< EffectTechnique >.Enumerator GetEnumerator()
override void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
Effect(GraphicsDevice graphicsDevice, byte[] effectCode)
EffectTechniqueCollection Techniques
unsafe void OnResetDevice()
WeakReference pParentEffect
unsafe ID3DXEffect * pComPtr
EffectParameterCollection Parameters
static unsafe Effect GetManagedObject(ID3DXEffect *pInterface, GraphicsDevice pDevice, uint pool)
virtual bool WantParameter(EffectParameter P_0)
EffectTechnique _currentTechnique
unsafe Effect(ID3DXEffect *pInterface, GraphicsDevice pDevice)
static string FormatShaderModel(uint shaderModel)
unsafe void CreateEffectFromCode(GraphicsDevice graphicsDevice, byte[] effectCode)
List< WeakReference > pClonedEffects
static object pSyncObject
unsafe EffectTechnique CurrentTechnique
unsafe Effect(Effect cloneSource)
virtual int SaveDataForRecreation()
virtual unsafe void ReleaseNativeObject([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
EffectParameterCollection pParamCollection
virtual unsafe int RecreateAndPopulateObject()
void AddClonedEffect(Effect effect)
unsafe void InitializeHelpers()
unsafe void OnLostDevice()
EffectTechniqueCollection pTechniqueCollection
DeviceResourceManager Resources
unsafe StateTrackerDevice * pStateTracker
ProfileCapabilities _profileCapabilities
static Exception GetExceptionFromResult(uint result)
void ThrowNotSupportedException(string message)
static void CheckDisposed(object obj, IntPtr pComPtr)
Enumerator GetEnumerator()
static void ReRegisterForFinalize(object obj)
static CultureInfo CurrentCulture
static void Exit(object obj)
static void Enter(object obj)
void ReleaseNativeObject([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
int RecreateAndPopulateObject()
int SaveDataForRecreation()