Navigation
API > API/Plugins > API/Plugins/LearningTraining
References
| Module | LearningTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningSharedMemory.h |
| Include | #include "LearningSharedMemory.h" |
namespace UE
{
namespace Learning
{
namespace SharedMemory
{
template<uint8 DimNum, typename ElementType>
TSharedMemoryArrayView< DimNum, ElementType > UE&58;&58;Learning&58;&58;SharedMemory&58;&58;Map
&40;
const FGuid Guid,
const TLearningArrayShape< DimNum > & Shape,
const bool bCreate
&41;
}
}
}
Remarks
Map a view of a region of shared memory. View of the shared memory region, guid, and pointer required for unmapping
Parameters
| Name | Description |
|---|---|
| Guid | Guid of the shared memory region |
| Shape | Shape of the shared memory region |
| bCreate | If this shared memory region should be created or if it already exists |