information about swap-chain support
More...
#include <cs237-window.hpp>
|
vk::SurfaceFormatKHR | chooseSurfaceFormat () |
| choose a surface format from the available formats
|
|
vk::PresentModeKHR | choosePresentMode () |
| choose a presentation mode from the available modes; we prefer "mailbox" (aka triple buffering)
|
|
vk::Extent2D | chooseExtent (GLFWwindow *win) |
| get the extent of the window subject to the limits of the Vulkan device
|
|
information about swap-chain support
◆ chooseExtent()
vk::Extent2D cs237::Window::SwapChainDetails::chooseExtent |
( |
GLFWwindow * |
win | ) |
|
get the extent of the window subject to the limits of the Vulkan device
◆ choosePresentMode()
vk::PresentModeKHR cs237::Window::SwapChainDetails::choosePresentMode |
( |
| ) |
|
choose a presentation mode from the available modes; we prefer "mailbox" (aka triple buffering)
◆ chooseSurfaceFormat()
vk::SurfaceFormatKHR cs237::Window::SwapChainDetails::chooseSurfaceFormat |
( |
| ) |
|
choose a surface format from the available formats
◆ capabilities
vk::SurfaceCapabilitiesKHR cs237::Window::SwapChainDetails::capabilities |
◆ formats
std::vector<vk::SurfaceFormatKHR> cs237::Window::SwapChainDetails::formats |
◆ presentModes
std::vector<vk::PresentModeKHR> cs237::Window::SwapChainDetails::presentModes |
The documentation for this struct was generated from the following file: