Navigation
API > API/Plugins > API/Plugins/ElectraBase > API/Plugins/ElectraBase/FMediaRunnable
Description
Creates a new thread. Actually only the parameters are set, but no actual thread is created. We leave this to the Start() function so it becomes possible to change parameters after construction.
| Name | Create |
| Type | function |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/Core/MediaThreads.h |
| Include Path | #include "Core/MediaThreads.h" |
| Source | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Private/Core/MediaThreads.cpp |
static FMediaRunnable * Create
(
int32 CoreAffinityMask,
EThreadPriority Priority,
uint32 StackSize,
const FString & InThreadName
)
New runnable object
Parameters
| Name | Remarks |
|---|---|
| InCoreAffinityMask | |
| InPriority | |
| InStackSize | |
| InThreadName |