Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Namespaces | Functions
foray_vulkan.hpp File Reference
#include "core/foray_core_declares.hpp"
#include "foray_basics.hpp"
#include "foray_exception.hpp"
#include <vulkan/vulkan.h>

Go to the source code of this file.

Namespaces

namespace  foray
 

Functions

std::string foray::PrintVkResult (VkResult result)
 Prints a VkResult. If outside of NAMEF_ENUM_RANGE_MAX, will only print number.
 
void foray::AssertVkResult (VkResult result, const source_location location=source_location::current())
 Asserts a VkResult (Fails if not VK_SUCCESS)
 
void foray::SetVulkanObjectName (core::Context *context, VkObjectType objectType, const void *objectHandle, std::string_view name)
 Set a vulkan object name (Will show up in validation errors, NSight, RenderDoc, ...)