Navigation
API > API/Plugins > API/Plugins/XRBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ExecuteOnRHIThread_DoNotWait
(
const TFunction< void()>& Function |
Utility function for easily submitting TFunction to be run on the RHI thread. | XRThreadUtils.h | |
bool ExecuteOnRHIThread_DoNotWait
(
const TFunction< void(FRHICommandListImmediate&)>& Function |
Utility function for easily submitting TFunction to be run on the RHI thread. | XRThreadUtils.h |
ExecuteOnRHIThread_DoNotWait(const TFunction< void()> &)
Description
Utility function for easily submitting TFunction to be run on the RHI thread. Must be invoked from the render thread. If RHI does not run on a separate thread, the TFunction will be executed immediately, otherwise it will be added to the RHI thread command list.
| Name | ExecuteOnRHIThread_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 |
bool ExecuteOnRHIThread_DoNotWait
(
const TFunction< void()> & Function
)
true if the function was queued, false if RHI does not use a separate thread, or if it's bypassed, in which case, the function has already been executed.
Parameters
| Name | Remarks |
|---|---|
| Function | the Function to be invoked on the RHI thread. |
ExecuteOnRHIThread_DoNotWait(const TFunction< void(FRHICommandListImmediate &)> &)
Description
Utility function for easily submitting TFunction to be run on the RHI thread. Must be invoked from the render thread. If RHI does not run on a separate thread, the TFunction will be executed immediately, otherwise it will be added to the RHI thread command list.
| Name | ExecuteOnRHIThread_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 |
bool ExecuteOnRHIThread_DoNotWait
(
const TFunction< void(FRHICommandListImmediate &)> & Function
)
true if the function was queued, false if RHI does not use a separate thread, or if it's bypassed, in which case, the function has already been executed.
Parameters
| Name | Remarks |
|---|---|
| Function | the Function to be invoked on the RHI thread. When executed, it will get the current FRHICommandList instance passed in as its sole argument. |