Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDynamicRHI
Description
Returns a supported screen resolution that most closely matches input.
| Name | RHIGetSupportedResolution |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include Path | #include "DynamicRHI.h" |
void RHIGetSupportedResolution
(
uint32 & Width,
uint32 & Height
)
Parameters
| Name | Remarks |
|---|---|
| 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. |