FOpenGLDynamicRHI::RHIGetSupportedResolution

Override Hierarchy

FDynamicRHI::RHIGetSupportedResolution()

FOpenGLDynamicRHI::RHIGetSupportedResolution()

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.

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLViewport.cpp