2017-09-07 15:51:51 +10:00
|
|
|
/*
|
2018-08-04 15:24:36 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2017-09-07 15:51:51 +10:00
|
|
|
*
|
|
|
|
* Copyright:
|
|
|
|
* 2017, Danny Robson <danny@nerdcruft.net>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CRUFT_VK_SURFACE_HPP
|
|
|
|
#define CRUFT_VK_SURFACE_HPP
|
|
|
|
|
2024-07-18 09:51:48 +10:00
|
|
|
#include <cruft/vk/vk.hpp>
|
|
|
|
#include <cruft/vk/instance.hpp>
|
|
|
|
#include <cruft/vk/object.hpp>
|
2017-09-07 15:51:51 +10:00
|
|
|
|
|
|
|
|
|
|
|
namespace cruft::vk {
|
2017-09-19 18:22:40 +10:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2017-09-07 15:51:51 +10:00
|
|
|
struct surface : public owned<surface,instance> {
|
|
|
|
using owned::owned;
|
|
|
|
};
|
2017-09-19 18:22:40 +10:00
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
WRAP_FUNCTION (capabilities, vkGetPhysicalDeviceSurfaceCapabilitiesKHR);
|
|
|
|
WRAP_FUNCTION (formats, vkGetPhysicalDeviceSurfaceFormatsKHR);
|
|
|
|
WRAP_FUNCTION (present_modes, vkGetPhysicalDeviceSurfacePresentModesKHR);
|
2017-09-07 15:51:51 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|