Implemented cmd_copy_acceleration_structure

This commit is contained in:
Graham Wihlidal 2019-02-10 03:29:51 +01:00
parent 58ffae64de
commit 5eb9f09c80

View file

@ -103,7 +103,16 @@ impl RayTracing {
);
}
// cmd_copy_acceleration_structure_nv
pub unsafe fn cmd_copy_acceleration_structure(
&self,
command_buffer: vk::CommandBuffer,
dst: vk::AccelerationStructureNV,
src: vk::AccelerationStructureNV,
mode: vk::CopyAccelerationStructureModeNV,
) {
self.ray_tracing_fn
.cmd_copy_acceleration_structure_nv(command_buffer, dst, src, mode);
}
// cmd_trace_rays_nv