#[cfg(all(windows))]
pub fn required_extension_names() -> Vec<*const i8> {
use ash::extensions::ext::DebugUtils;
use ash::extensions::khr::{Surface, Win32Surface};
vec![
Surface::name().as_ptr(),
Win32Surface::name().as_ptr(),
DebugUtils::name().as_ptr(),
]
}
#[cfg(all(unix, not(target_os = "android"), not(target_os = "macos")))]
pub fn required_extension_names() -> Vec<*const i8> {
use ash::extensions::ext::DebugUtils;
use ash::extensions::khr::{Surface, XlibSurface};
vec![
Surface::name().as_ptr(),
XlibSurface::name().as_ptr(),
DebugUtils::name().as_ptr(),
]
}