|
CeresEngine 0.2.0
A game development framework
|
Vertical-synchronization (Vsync) descriptor structure. More...
#include <CeresEngine/RenderAPI/GPUSwapchain.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| bool | enabled = true |
| Specifies whether vertical-synchronisation (Vsync) is enabled or disabled. | |
| UInt32 | refreshRate = 60 |
| Refresh rate (in Hz). | |
| UInt32 | interval = 1 |
| Synchronisation interval. | |
Vertical-synchronization (Vsync) descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
Specifies whether vertical-synchronisation (Vsync) is enabled or disabled.
By default disabled.
| UInt32 CeresEngine::GPUVsyncDescriptor::interval = 1 |
Synchronisation interval.
Can be 1, 2, 3, or 4.
| UInt32 CeresEngine::GPUVsyncDescriptor::refreshRate = 60 |
Refresh rate (in Hz).
By default 60.