wren
Vulkan-based game engine
|
#include "wren/utils/vulkan.hpp"
#include <spdlog/fmt/fmt.h>
#include <spdlog/spdlog.h>
#include <vulkan/vulkan_core.h>
#include <vulkan/vulkan_to_string.hpp>
#include <wren/vk/result.hpp>
Namespaces | |
namespace | wren |
namespace | wren::vulkan |
Macros | |
#define | LOAD_VULKAN_PFN(out, fn_name) |
Functions | |
VKAPI_ATTR auto VKAPI_CALL | vkCreateDebugUtilsMessengerEXT (VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT *p_create_info, const VkAllocationCallbacks *p_allocator, VkDebugUtilsMessengerEXT *p_messenger) -> VkResult |
VKAPI_ATTR auto VKAPI_CALL | vkCmdPushDescriptorSetKHR (VkCommandBuffer buffer, VkPipelineLayout layout, VkShaderStageFlags stage_flags, uint32_t offset, uint32_t size, const void *p_values) |
auto | wren::vulkan::load_functions (const ::vk::Instance &instance) -> expected< void > |
auto | wren::vulkan::debug_callback (VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT type, const VkDebugUtilsMessengerCallbackDataEXT *msg_data, void *user_data) -> VkBool32 |
auto | wren::vulkan::get_swapchain_support_details (const ::vk::PhysicalDevice &physical_device, const ::vk::SurfaceKHR &surface) -> expected< SwapchainSupportDetails > |
Variables | |
PFN_vkCreateDebugUtilsMessengerEXT | pfnVkCreateDebugUtilsMessengerEXT = nullptr |
PFN_vkDestroyDebugUtilsMessengerEXT | pfnVkDestroyDebugUtilsMessengerEXT |
PFN_vkCmdPushConstants | pfnVkCmdPushConstants = nullptr |
#define LOAD_VULKAN_PFN | ( | out, | |
fn_name ) |
VKAPI_ATTR auto VKAPI_CALL vkCmdPushDescriptorSetKHR | ( | VkCommandBuffer | buffer, |
VkPipelineLayout | layout, | ||
VkShaderStageFlags | stage_flags, | ||
uint32_t | offset, | ||
uint32_t | size, | ||
const void * | p_values ) |
VKAPI_ATTR auto VKAPI_CALL vkCreateDebugUtilsMessengerEXT | ( | VkInstance | instance, |
const VkDebugUtilsMessengerCreateInfoEXT * | p_create_info, | ||
const VkAllocationCallbacks * | p_allocator, | ||
VkDebugUtilsMessengerEXT * | p_messenger ) -> VkResult |
PFN_vkCmdPushConstants pfnVkCmdPushConstants = nullptr |
PFN_vkCreateDebugUtilsMessengerEXT pfnVkCreateDebugUtilsMessengerEXT = nullptr |
PFN_vkDestroyDebugUtilsMessengerEXT pfnVkDestroyDebugUtilsMessengerEXT |