diff --git a/ash/src/instance.rs b/ash/src/instance.rs index 8e3bd1a8b..06132e5d3 100644 --- a/ash/src/instance.rs +++ b/ash/src/instance.rs @@ -33,6 +33,23 @@ impl Instance { } } + pub fn from_parts_1_3( + handle: vk::Instance, + instance_fn_1_0: vk::InstanceFnV1_0, + instance_fn_1_1: vk::InstanceFnV1_1, + instance_fn_1_2: vk::InstanceFnV1_2, + instance_fn_1_3: vk::InstanceFnV1_3, + ) -> Self { + Self { + handle, + + instance_fn_1_0, + instance_fn_1_1, + instance_fn_1_2, + instance_fn_1_3, + } + } + #[inline] pub fn handle(&self) -> vk::Instance { self.handle