Mandrill 2025.6.0
Loading...
Searching...
No Matches
Mandrill::Check Namespace Reference

Namespace with error checking functions for Mandrill. More...

Functions

void MANDRILL_API GLFW (const std::source_location loc=std::source_location::current())
 Check for GLFW error.
 
void MANDRILL_API Vk (VkResult res, const std::source_location loc=std::source_location::current())
 Check for Vulkan error.
 

Detailed Description

Namespace with error checking functions for Mandrill.

Function Documentation

◆ GLFW()

void Mandrill::Check::GLFW ( const std::source_location  loc = std::source_location::current())

Check for GLFW error.

Parameters
locSource file location (leave at default)

◆ Vk()

void Mandrill::Check::Vk ( VkResult  res,
const std::source_location  loc = std::source_location::current() 
)

Check for Vulkan error.

Parameters
resResult returned from Vulkan function call
locSource file location (leave at default)