86 value.pComPtr = pComPtr;
88 value.CurrentRefCount = 1;
89 value.isDisposed =
false;
97 value2.pComPtr = pComPtr;
98 value2.ResourceName =
string.Empty;
99 value2.ResourceTag =
null;
101 value2.CurrentRefCount = 1;
102 value2.isDisposed =
false;
126 object target =
enumerator.Current.ManagedObject.Target;
224 value.ResourceName = name;
243 value.ResourceTag = tag;
282 void* pComPtr =
value.pComPtr;
286 value.pComPtr =
null;
326 effect.OnLostDevice();
366 for (
int i = 0; i < (nint)
array2.LongLength; i++)
397 for (
int i = 0; i < (nint)
array.LongLength; i++)
426 num = effect.SaveDataForRecreation();
460 for (
int i = 0; i < (nint)
array.LongLength; i++)
void SetCachedName(ulong handle, string name)
unsafe object GetCachedObject(void *pComPtr)
void IncrementRefCount(ulong handle)
void ReleaseAutomaticResources()
Dictionary< ulong, ResourceData > pResourceData
string GetCachedName(ulong handle)
IntPtr FindResourceW(Converter< object, IntPtr > selectionFilter)
bool Contains(ulong handle)
DeviceResourceManager(GraphicsDevice parent)
void ReleaseAllDeviceResources()
GraphicsDevice pParentDevice
void RecreateResources(_D3DPOOL pool, [MarshalAs(UnmanagedType.U1)] bool deviceRecreated)
void ReleaseAllDefaultPoolResources()
void SetCachedTag(ulong handle, object tag)
unsafe void AddTrackedObject(object managedObject, void *pComPtr, uint resourceManagementMode, ulong handle, ref ulong updatedHandle)
unsafe void ReleaseAllReferences(ulong handle, [MarshalAs(UnmanagedType.U1)] bool dispose)
object GetCachedTag(ulong handle)
unsafe void OnResetDevice()
void FireCreatedEvent(object resource)
void FireDestroyedEvent(string name, object tag)
static Exception GetExceptionFromResult(uint result)
Enumerator GetEnumerator()
void CopyTo(TKey[] array, int index)
Enumerator GetEnumerator()
bool ContainsKey(TKey key)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
Enumerator GetEnumerator()
void Add(TKey key, TValue value)
static void Exit(object obj)
static void Enter(object obj)
static readonly IntPtr Zero