Terraria v1.4.4.9
Terraria source code documentation
|
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, ResourceData > | pResourceData |
GraphicsDevice | pParentDevice |
object | pSyncObject |
ulong | _currentMaxHandle |
Definition at line 8 of file DeviceResourceManager.cs.