![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RHIResources.h>
Inheritance diagram for FRHIViewport:Public Member Functions | |
| FRHIViewport () | |
| virtual void * | GetNativeSwapChain () const |
| virtual void * | GetNativeBackBufferTexture () const |
| virtual void * | GetNativeBackBufferRT () const |
| virtual void * | GetNativeWindow (void **AddParam=nullptr) const |
| virtual void | SetCustomPresent (class FRHICustomPresent *) |
| virtual class FRHICustomPresent * | GetCustomPresent () const |
| virtual FRHITexture * | GetOptionalSDRBackBuffer (FRHITexture *BackBuffer) const |
| virtual void | Tick (float DeltaTime) |
| virtual void | WaitForFrameEventCompletion () |
| virtual void | IssueFrameEvent () |
Public Member Functions inherited from FRHIResource | |
| RHI_API | FRHIResource (ERHIResourceType InResourceType) |
| uint32 | AddRef () const |
| uint32 | Release () const |
| uint32 | GetRefCount () const |
| bool | IsValid () const |
| void | DisableLifetimeExtension () |
| ERHIResourceType | GetType () const |
| FName | GetOwnerName () const |
| void | SetOwnerName (FName InOwnerName) |
Additional Inherited Members | |
Protected Member Functions inherited from FRHIResource | |
| virtual RHI_API | ~FRHIResource () |
|
inline |
|
inlinevirtual |
Returns currently set custom present handler.
Reimplemented in FOpenGLViewport, FD3D11Viewport, FD3D12Viewport, and FVulkanViewport.
Returns access to the platform-specific native resource pointer to a backbuffer rendertarget. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
Reimplemented in FMetalViewport, FD3D12Viewport, and FD3D11Viewport.
Returns access to the platform-specific native resource pointer to a backbuffer texture. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
Reimplemented in FMetalViewport, FD3D12Viewport, and FD3D11Viewport.
Returns access to the platform-specific native resource pointer. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
Reimplemented in FD3D12Viewport, and FD3D11Viewport.
Returns access to the platform-specific native window. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.
Reimplemented in FOpenGLViewport, FD3D12Viewport, and FD3D11Viewport.
|
inlinevirtual |
Reimplemented in FD3D12Viewport, FOpenGLViewport, FVulkanViewport, and FD3D11Viewport.
|
inlinevirtual |
Sets custom Present handler on the viewport
Reimplemented in FD3D12Viewport, FOpenGLViewport, FD3D11Viewport, and FVulkanViewport.
Ticks the viewport on the Game thread
Reimplemented in FVulkanViewport.
Reimplemented in FD3D12Viewport, FOpenGLViewport, FVulkanViewport, and FD3D11Viewport.