FOpenGLDynamicRHI::RHIGetSupportedResolution

FlushType: Thread safe.

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHIGetSupportedResolution()

FOpenGLDynamicRHI::RHIGetSupportedResolution()

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLDrv.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLViewport.cpp

Syntax

virtual void RHIGetSupportedResolution
(
    uint32 & Width,
    uint32 & Height
)

Remarks

Returns a supported screen resolution that most closely matches input.

Parameters

Parameter

Description

Width

Input: Desired resolution width in pixels. Output: A width that the platform supports.

Height

Input: Desired resolution height in pixels. Output: A height that the platform supports.

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