Navigation
API > API/Runtime > API/Runtime/OpenGLDrv > API/Runtime/OpenGLDrv/FOpenGLDynamicRHI
- 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 |
virtual void RHIGetSupportedResolution
&40;
uint32 & Width,
uint32 & Height
&41;
Remarks
Returns a supported screen resolution that most closely matches input.
Parameters
| Name | 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. |