Implemented cmd_copy_acceleration_structure
This commit is contained in:
parent
58ffae64de
commit
5eb9f09c80
|
@ -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
|
// cmd_trace_rays_nv
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue