Swapchain description for wis::SwapChain creation.
uint32_t buffer_count;
bool stereo;
bool vsync;
bool tearing;
};
SwapchainScaling
Swapchain scaling mode.
DataFormat
Data format for data. Used as a template for data in several cases. Can be used to describe:
Swapchain description for wis::SwapChain creation.
Definition at line 1772 of file api.hpp.
#include <api.hpp>
◆ buffer_count
uint32_t wis::SwapchainDesc::buffer_count |
Swapchain buffer count.
Definition at line 1775 of file api.hpp.
◆ format
Swapchain texture format.
Definition at line 1774 of file api.hpp.
◆ scaling
Swapchain scaling mode.
Definition at line 1779 of file api.hpp.
◆ size
Swapchain texture size.
Definition at line 1773 of file api.hpp.
◆ stereo
bool wis::SwapchainDesc::stereo |
Stereo mode enable. If there is no stereo in the system will be ignored.
Definition at line 1776 of file api.hpp.
◆ tearing
bool wis::SwapchainDesc::tearing |
Tearing enable. If VSync is disabled, Tearing may be enabled. If System does not allow tearing the flag is ignored.
Definition at line 1778 of file api.hpp.
◆ vsync
bool wis::SwapchainDesc::vsync |
The documentation for this struct was generated from the following file:
- /home/runner/work/Wisdom/Wisdom/wisdom/include/wisdom/generated/api/api.hpp