vk::raii::ShaderModule VulkanApplication::CreateShaderModule(const std::vector<char>& bytes) const
{
vk::ShaderModuleCreateInfo create_info
{
.codeSize = bytes.size() * sizeof(char),
.pCode = reinterpret_cast<const uint32_t*>(bytes.data())
};
vk::raii::ShaderModule shader_module{ vkb_device_.device, create_info };
Seems that vk-bootstrap has locked me into the C bindings, when I want to use the new C++ ones. Is there a way to convert the vkb::Device to a vk::raii::Device? it seems I can only get the VkDevice from it and then I'm pretty stuck.