Choose your operating system:
Windows
macOS
Linux
| FRHIResource
|
Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/RHIResources.h |
Include |
#include "RHIResources.h" |
class FRHICustomPresent : public FRHIResource
Name | Description | |
---|---|---|
|
FRHICustomPresent() |
Name | Description | |
---|---|---|
|
~FRHICustomPresent() |
Name | Description | ||
---|---|---|---|
|
BeginDrawing() |
Called from RHI thread when the engine begins drawing to the viewport. |
|
|
NeedsAdvanceBackbuffer() |
In come cases we want to use custom present but still let the native environment handle advancement of the backbuffer indices. |
|
|
NeedsNativePresent() |
Called from render thread to see if a native present will be requested for this frame. |
|
|
OnAcquireThreadOwnership() |
Called when rendering thread is acquired. |
|
|
OnBackBufferResize() |
Called when viewport is resized. |
|
|
OnReleaseThreadOwnership() |
Called when rendering thread is released. |
|
|
PostPresent() |
Called from RHI thread after native Present has been called. |
|
|
Present ( |
Called from RHI thread to perform custom present. |