vkrust 0.13.2+1.4.365

Rust Vulkan bindings for graphics and GPU compute, with cached dispatch and a native allocator
Documentation
1
2
3
4
5
6
7
8
fn main() {
	let swaps = [vk::SwapchainKHR::NULL];
	let indices = [0_u32];
	let mut results = [vk::Result::NOT_READY];
	let info = vk::PresentInfoKHR::default().set_swapchains(&swaps, &indices, Some(&mut results)).unwrap();
	let _ = std::hint::black_box(&results);
	std::hint::black_box(info);
}