unsafe extern "system" fn vulkan_debug_report_callback(
    _flags       : vk::DebugReportFlagsEXT,
    _obj_type    : vk::DebugReportObjectTypeEXT,
    _obj         : vklint,
    _location    : usize,
    _code        : vksint,
    _layer_prefix: *const vkchar,
    p_message    : *const vkchar,
    _user_data   : vkptr
) -> u32 {

    println!("[Debug] {:?}", CStr::from_ptr(p_message));
    vk::FALSE
}
/// the callback function used in Debug Report.
the callback function used in Debug Report.
the callback function used in Debug Report .
unsafe extern "system" fn vulkan_debug_report_callback(
    _flags       : vk::DebugReportFlagsEXT,
    _obj_type    : vk::DebugReportObjectTypeEXT,
    _obj         : vklint,
    _location    : usize,
    _code        : vksint,
    _layer_prefix: *const vkchar,
    p_message    : *const vkchar,
    _user_data   : vkptr
) -> u32 {
    println!("[Debug] {:?}", CStr::from_ptr(p_message));
    vk::FALSE
}
unsafe extern " " fn vulkan_debug_report_callback ( _flags : vk :: DebugReportFlagsEXT , _obj_type : vk :: DebugReportObjectTypeEXT , _obj : vklint , _location : usize , _code : vksint , _layer_prefix : * const vkchar , p_message : * const vkchar , _user_data : vkptr ) -> u32 { println ! ( " " CStr from_ptr ( p_message ) ) ; vk :: FALSE }
the callback function used in Debug Report.
the callback function used in Debug Report .
_flags
vk::DebugReportFlagsEXT
_obj_type
vk::DebugReportObjectTypeEXT
_obj
vklint
_location
usize
_code
vksint
_layer_prefix
*const vkchar
p_message
*const vkchar
_user_data
vkptr
_flags
vk::DebugReportFlagsEXT
_obj_type
vk::DebugReportObjectTypeEXT
_obj
vklint
_location
usize
_code
vksint
_layer_prefix
*const vkchar
p_message
*const vkchar
_user_data
vkptr