FOpenGLDynamicRHI::RHICreateViewport

Override Hierarchy

FDynamicRHI::RHICreateViewport()

FOpenGLDynamicRHI::RHICreateViewport()

Syntax

virtual FViewportRHIRef RHICreateViewport
(
    void * WindowHandle,
    uint32 SizeX,
    uint32 SizeY,
    bool bIsFullscreen,
    EPixelFormat PreferredPixelFormat
)

Remarks

Must be called from the main thread. FlushType: Thread safe

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLViewport.cpp