Navigation
API > API/Runtime > API/Runtime/RHI
| Name | FRHIViewport |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
class FRHIViewport : public FRHIResource
Inheritance Hierarchy
- FRHIResource → FRHIViewport
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHIViewport() |
RHIResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetPresentLatencyCallbacks
(
TFunction< void()>&& InBeginCallback, |
RHIResources.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateNativeLayer
(
int32 NewNativeLayer, |
Creates a platform-level native slate rendering layer for handling rendering order with platform-native views. | RHIResources.h | |
virtual void DeleteNativeLayer
(
int32 OldNativeLayer |
Deletes a platform-level native layer created by CreateNativeLayer. | RHIResources.h | |
virtual FRHICustomPresent * GetCustomPresent() |
Returns currently set custom present handler. | RHIResources.h | |
virtual void * GetNativeBackBufferRT () |
Returns access to the platform-specific native resource pointer to a backbuffer rendertarget. | RHIResources.h | |
virtual void * GetNativeBackBufferTexture () |
Returns access to the platform-specific native resource pointer to a backbuffer texture. | RHIResources.h | |
virtual void * GetNativeSwapChain () |
Returns access to the platform-specific native resource pointer. | RHIResources.h | |
virtual void * GetNativeWindow
(
void** AddParam |
Returns access to the platform-specific native window. | RHIResources.h | |
virtual FRHITexture * GetOptionalSDRBackBuffer
(
FRHITexture* BackBuffer |
RHIResources.h | ||
virtual void IssueFrameEvent() |
RHIResources.h | ||
virtual void SetCustomPresent
(
FRHICustomPresent* |
Sets custom Present handler on the viewport | RHIResources.h | |
virtual void SetDefaultNativeLayer
(
int32 NativeLayer |
Sets the default native layer for items to render into. | RHIResources.h | |
virtual void SetWindowCropSize
(
const FIntRect& NewCropWindow |
Some platforms can specify a Crop rectangle for the Viewport | RHIResources.h | |
virtual void Tick
(
float DeltaTime |
Ticks the viewport on the Game thread | RHIResources.h | |
virtual void WaitForFrameEventCompletion() |
RHIResources.h |