Implemented cmd_write_acceleration_structures_properties

This commit is contained in:
Graham Wihlidal 2019-02-10 03:38:01 +01:00
parent b0c554cbe5
commit ea66baff62

View file

@ -157,7 +157,24 @@ impl RayTracing {
// get_acceleration_structure_handle_nv // get_acceleration_structure_handle_nv
// cmd_write_acceleration_structures_properties_nv pub unsafe fn cmd_write_acceleration_structures_properties(
&self,
command_buffer: vk::CommandBuffer,
structures: &[vk::AccelerationStructureNV],
query_type: vk::QueryType,
query_pool: vk::QueryPool,
first_query: u32,
) {
self.ray_tracing_fn
.cmd_write_acceleration_structures_properties_nv(
command_buffer,
structures.len() as u32,
structures.as_ptr(),
query_type,
query_pool,
first_query,
);
}
pub unsafe fn compile_deferred( pub unsafe fn compile_deferred(
&self, &self,