FRHIViewport

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FRHIViewport : public FRHIResource

Functions

Name Description

Public function Virtual Const

FRHICustomPr...

 

GetCustomPresent()

Returns currently set custom present handler.

Public function Virtual Const

void *

 

GetNativeBackBufferRT()

Returns access to the platform-specific native resource pointer to a backbuffer rendertarget.

Public function Virtual Const

void *

 

GetNativeBackBufferTexture()

Returns access to the platform-specific native resource pointer to a backbuffer texture.

Public function Virtual Const

void *

 

GetNativeSwapChain()

Returns access to the platform-specific native resource pointer.

Public function Virtual Const

void *

 

GetNativeWindow

(
    void** AddParam
)

Returns access to the platform-specific native window.

Public function Virtual

void

 

SetCustomPresent

(
    FRHICustomPresent*
)

Sets custom Present handler on the viewport

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Ticks the viewport on the Game thread

References

Module

RHI

Header

Runtime/RHI/Public/RHIResources.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback