FOpenGLViewport

Windows
MacOS
Linux

Inheritance Hierarchy

FRHIResource

FRHIViewport

FOpenGLViewport

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLResources.h

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLViewport : public FRHIViewport

Constructors

Name Description

Public function

FOpenGLViewport

(
    FOpenGLDynamicRHI* InOpenGLRHI,
    void* InWindowHandle,
    uint32 InSizeX,
    uint32 InSizeY,
    bool bInIsFullscreen,
    EPixelFormat PreferredPixelFormat
)

Destructors

Name Description

Public function

~FOpenGLViewport()

Functions

Name Description

Public function Const

FOpenGLTextu...

 

GetBackBuffer()

Public function Const

FPlatformOpe...

 

GetGLContext()

Public function Const

FOpenGLDynam...

 

GetOpenGLRHI()

Public function Const

FIntPoint

 

GetSizeXY()

Accessors.

Public function Const

bool

 

IsFullscreen()

Public function

void

 

Resize

(
    uint32 InSizeX,
    uint32 InSizeY,
    bool bInIsFullscreen
)

Overridden from FRHIViewport

Name Description

Public function Virtual Const

FRHICustomPr...

 

GetCustomPresent()

Returns currently set custom present handler.

Public function Virtual Const

void *

 

GetNativeWindow

(
    void** AddParam
)

Returns access to the platform-specific native window.

Public function Virtual

void

 

IssueFrameEvent()

Public function Virtual

void

 

SetCustomPresent

(
    FRHICustomPresent*
)

Sets custom Present handler on the viewport

Public function Virtual

void

 

WaitForFrameEventCompletion()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss