#include <AtomResourceManager.h>
◆ FAtomResourceManager()
| FAtomResourceManager::FAtomResourceManager |
( |
| ) |
|
◆ ~FAtomResourceManager()
| FAtomResourceManager::~FAtomResourceManager |
( |
| ) |
|
◆ BuildNewHandle()
◆ CanUseResource()
This function is used to check if we can use an existing Atom resource.
◆ CreateNewResource()
◆ DecrementResource()
| void FAtomResourceManager::DecrementResource |
( |
FAtomResourceId | AtomResourceID | ) |
|
|
private |
◆ ExecuteOnLoadCompleteCallback()
◆ GetAtomResources() [1/2]
| TArray< FAtomResource * > FAtomResourceManager::GetAtomResources |
( |
| ) |
|
Returns all the Atom resources managed by Atom resource manager.
◆ GetAtomResources() [2/2]
Returns all resources using the given runtime ID.
◆ GetNewResourceID()
| uint32 FAtomResourceManager::GetNewResourceID |
( |
| ) |
|
|
private |
Creates a handle given the index and a generation value.
◆ GetNumAtomResources()
| uint32 FAtomResourceManager::GetNumAtomResources |
( |
| ) |
const |
Returns the current number of Atom resources.
◆ GetObjectsUsingAtomResource()
| TArray< UObject * > FAtomResourceManager::GetObjectsUsingAtomResource |
( |
FAtomResourceId | InResourceID | ) |
|
Returns all the objects associated with the given Atom resource ID.
◆ GetResource()
Returns a strong handle to the Atom resource associated with the given Atom resource ID. if the Atom resource ID is invalid returns an invalid, zeroed handle.
◆ GetResourceRaw()
Returns a raw ptr to the Atom resource associated with the handle If the handle is invalid then a nullptr will be returned.
◆ GetScopeOfAtomResource()
◆ IncrementResource()
| void FAtomResourceManager::IncrementResource |
( |
FAtomResourceId | AtomResourceID | ) |
|
|
private |
◆ IsValidResource()
| bool FAtomResourceManager::IsValidResource |
( |
FAtomResourceId | ResourceID | ) |
const |
Returns whether the Atom resource handle is valid (i.e. points to an actual Atom resource instance).
◆ IterateOverAllResources() [1/2]
Iterator for each resources using the given runtime ID.
◆ IterateOverAllResources() [2/2]
Iterator for each resources.
◆ MoveResourceToRuntime()
Unload a resource if not already unloaded, then change its runtime ID.
◆ RegisterObject()
Registers the world with the provided Atom ID.
◆ RequestSoundResource()
Request a new resorce or retrun an already created one.
◆ UnregisterObject()
Unregisters the world from the provided Atom ID.
◆ UpdateAtomResources()
| void FAtomResourceManager::UpdateAtomResources |
( |
bool | bGameTicking | ) |
|
Update Atom resources. check if some should be unloaded.
◆ FAtomResourceHandle
◆ NumberOfLoadsInFlight
| FThreadSafeCounter FAtomResourceManager::NumberOfLoadsInFlight |
|
private |
◆ ResourceIDCounter
| uint32 FAtomResourceManager::ResourceIDCounter |
|
private |
◆ ResourceMapCriticalSection
| FCriticalSection FAtomResourceManager::ResourceMapCriticalSection |
|
mutableprivate |
◆ Resources
このクラス詳解は次のファイルから抽出されました: