pub fn instance_layer_properties( sink: &mut [MaybeUninit<VkLayerProperties>], ) -> Result<u32>
Returns up to all of global layer properties
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY