Wwise SDK 2019.2.15
_ak_memory_mgr_8h_source
버전
menu_open
link
Wwise SDK 2019.2.15
|
AkMemoryMgr.h
이 파일의 문서화 페이지로 가기
67 };
107 /// \warning This function is not thread-safe. It should not be called at the same time as MemoryMgr::Init or MemoryMgr::Term.
115 /// \warning This function is not thread-safe. It is not valid to allocate memory or otherwise interact with the memory manager during or after this call.
120 /// Performs whatever steps are required to initialize a thread for use with the memory manager.
122 /// The default implementation of the memory manager performs thread initialization automatically and therefore this call is optional.
123 /// For implementations where the cost of automatically initializing a thread for use with an allocator would be prohibitively expensive
124 /// this call allows you to perform the initialization once during, for example, thread creation.
130 /// The default implementation of the memory manager requires that all threads that interact with the memory manager call this function prior
131 /// to either their termination or the termination of the memory manager. Threads not created by the sound engine itself will not have this
133 /// Take care to call this function for any thread, not owned by wwise, that may have interacted with the memory manager. For example job system workers.
146 /// \return A pointer to the start of the allocated memory (NULL if the allocation could not be completed)
157 /// \return A pointer to the start of the allocated memory (NULL if the allocation could not be completed)
167 /// \return A pointer to the start of the reallocated memory (NULL if the allocation could not be completed)
180 /// \return A pointer to the start of the reallocated memory (NULL if the allocation could not be completed)
200 /// \return A pointer to the start of the allocated memory (NULL if the allocation could not be completed)
214 /// \return A pointer to the start of the allocated memory (NULL if the allocation could not be completed)
238 /// \note Be aware of the potentially incoherent nature of reporting such information during concurrent modification by multiple threads.
245 /// \note Be aware of the potentially incoherent nature of reporting such information during concurrent modification by multiple threads.
251 /// \note Not implementing this will result in the Soundbank tab of the Wwise Profiler to show 0 bytes for memory usage.
256 /// \return The amount of memory allocated by this thread since StartProfileThreadUsage was called.
@ AkMemID_Processing
Anything tied to instancing and processing of the DSP graph.
Definition: AkMemoryMgr.h:49
AKSOUNDENGINE_API void TermForThread()
@ AkMemID_Object
Generic placeholder for allocations tied to the Wwise project.
Definition: AkMemoryMgr.h:44
AKSOUNDENGINE_API void Free(AkMemPoolId in_poolId, void *in_pMemAddress)
AKSOUNDENGINE_API void * Malloc(AkMemPoolId in_poolId, size_t in_uSize)
AKSOUNDENGINE_API void Term()
AKSOUNDENGINE_API void GetGlobalStats(GlobalStats &out_stats)
AKSOUNDENGINE_API void InitForThread()
AKSOUNDENGINE_API void Falign(AkMemPoolId in_poolId, void *in_pMemAddress)
AKSOUNDENGINE_API void * Malign(AkMemPoolId in_poolId, size_t in_uSize, AkUInt32 in_uAlignment)
Definition: AkModule.h:133
AKSOUNDENGINE_API void StartProfileThreadUsage()
AKSOUNDENGINE_API void * Realloc(AkMemPoolId in_poolId, void *in_pAlloc, size_t in_uSize)
AKSOUNDENGINE_API AkUInt64 StopProfileThreadUsage()
Definition: AkMemoryMgr.h:84
@ AkMemID_ProcessingPlugin
Plug-in allocations related to the DSP graph.
Definition: AkMemoryMgr.h:50
Definition: AkMemoryMgr.h:95
AKSOUNDENGINE_API void GetCategoryStats(AkMemPoolId in_poolId, CategoryStats &out_poolStats)
AKSOUNDENGINE_API bool IsInitialized()
이 페이지가 도움이 되었나요?
작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요