Navigation
API > API/Plugins > API/Plugins/XRBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ExecuteOnRenderThread_DoNotWait
(
const TFunction< void()>& Function |
Utility function for easily submitting TFunction to be run on the render thread. | XRThreadUtils.h | |
void ExecuteOnRenderThread_DoNotWait
(
const TFunction< void(FRHICommandListImmediate&)>& Function |
Utility function for easily submitting TFunction to be run on the render thread. | XRThreadUtils.h |
ExecuteOnRenderThread_DoNotWait(const TFunction< void()> &)
Description
Utility function for easily submitting TFunction to be run on the render thread. Must be invoked from the game thread. If rendering does not use a separate thread, the TFunction will be executed immediately, otherwise it will be added to the render thread task queue.
| Name | ExecuteOnRenderThread_DoNotWait |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRThreadUtils.h |
| Include Path | #include "XRThreadUtils.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/XRThreadUtils.cpp |
void ExecuteOnRenderThread_DoNotWait
(
const TFunction< void()> & Function
)
true if the function was queued, false if rendering does not use a separate thread, in which case, the function has already been executed.
Parameters
| Name | Remarks |
|---|---|
| Function | the Function to be invoked on the render thread. |
ExecuteOnRenderThread_DoNotWait(const TFunction< void(FRHICommandListImmediate &)> &)
Description
Utility function for easily submitting TFunction to be run on the render thread. Must be invoked from the game thread. If rendering does not use a separate thread, the TFunction will be executed immediately, otherwise it will be added to the render thread task queue.
| Name | ExecuteOnRenderThread_DoNotWait |
| Type | function |
| Header File | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRThreadUtils.h |
| Include Path | #include "XRThreadUtils.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/XRThreadUtils.cpp |
void ExecuteOnRenderThread_DoNotWait
(
const TFunction< void(FRHICommandListImmediate &)> & Function
)
true if the function was queued, false if rendering does not use a separate thread, in which case, the function has already been executed.
Parameters
| Name | Remarks |
|---|---|
| Function | the Function to be invoked on the render thread. When executed, it will get the current FRHICommandList instance passed in as its sole argument. |