mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 00:34:35 +00:00
Run clang format on src/VkBootstrap.h
This commit is contained in:
parent
bcc8e6f664
commit
bfc0f06de0
@ -165,9 +165,9 @@ const char* to_string (QueueError err);
|
||||
const char* to_string (DeviceError err);
|
||||
const char* to_string (SwapchainError err);
|
||||
|
||||
// Gathers useful information about the available vulkan capabilities, like layers and instance extensions.
|
||||
// Use this for enabling features conditionally, ie if you would like an extension but can use a fallback if
|
||||
// it isn't supported but need to know if support is available first.
|
||||
// Gathers useful information about the available vulkan capabilities, like layers and instance
|
||||
// extensions. Use this for enabling features conditionally, ie if you would like an extension but
|
||||
// can use a fallback if it isn't supported but need to know if support is available first.
|
||||
struct SystemInfo {
|
||||
private:
|
||||
SystemInfo ();
|
||||
@ -319,7 +319,9 @@ VKAPI_ATTR VkBool32 VKAPI_CALL default_debug_callback (VkDebugUtilsMessageSeveri
|
||||
const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData,
|
||||
void* pUserData);
|
||||
|
||||
void destroy_debug_utils_messenger(VkInstance const instance, VkDebugUtilsMessengerEXT const messenger, VkAllocationCallbacks* allocation_callbacks = nullptr);
|
||||
void destroy_debug_utils_messenger (VkInstance const instance,
|
||||
VkDebugUtilsMessengerEXT const messenger,
|
||||
VkAllocationCallbacks* allocation_callbacks = nullptr);
|
||||
|
||||
// ---- Physical Device ---- //
|
||||
class PhysicalDeviceSelector;
|
||||
@ -556,7 +558,11 @@ class SwapchainBuilder {
|
||||
public:
|
||||
explicit SwapchainBuilder (Device const& device);
|
||||
explicit SwapchainBuilder (Device const& device, VkSurfaceKHR const surface);
|
||||
explicit SwapchainBuilder (VkPhysicalDevice const physical_device, VkDevice const device, VkSurfaceKHR const surface, int32_t graphics_queue_index = -1, int32_t present_queue_index = -1);
|
||||
explicit SwapchainBuilder (VkPhysicalDevice const physical_device,
|
||||
VkDevice const device,
|
||||
VkSurfaceKHR const surface,
|
||||
int32_t graphics_queue_index = -1,
|
||||
int32_t present_queue_index = -1);
|
||||
|
||||
detail::Result<Swapchain> build () const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user