Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.DeviceResourceManager Class Reference

Public Member Functions

 DeviceResourceManager (GraphicsDevice parent)
 
unsafe void AddTrackedObject (object managedObject, void *pComPtr, uint resourceManagementMode, ulong handle, ref ulong updatedHandle)
 
IntPtr FindResourceW (Converter< object, IntPtr > selectionFilter)
 
string GetCachedName (ulong handle)
 
object GetCachedTag (ulong handle)
 
unsafe object GetCachedObject (void *pComPtr)
 
void SetCachedName (ulong handle, string name)
 
void SetCachedTag (ulong handle, object tag)
 
unsafe void ReleaseAllReferences (ulong handle, [MarshalAs(UnmanagedType.U1)] bool dispose)
 
void ReleaseAllDefaultPoolResources ()
 
void ReleaseAllDeviceResources ()
 
void ReleaseAutomaticResources ()
 
void RecreateResources (_D3DPOOL pool, [MarshalAs(UnmanagedType.U1)] bool deviceRecreated)
 

Private Member Functions

void IncrementRefCount (ulong handle)
 
bool Contains (ulong handle)
 

Private Attributes

Dictionary< ulong, ResourceDatapResourceData
 
GraphicsDevice pParentDevice
 
object pSyncObject
 
ulong _currentMaxHandle
 

Detailed Description

Definition at line 8 of file DeviceResourceManager.cs.


The documentation for this class was generated from the following file: