draw_mesh_tasks

This commit is contained in:
2025-12-17 13:10:47 -08:00
parent 696c084e03
commit ffc74ee52e

View File

@@ -1240,7 +1240,8 @@ impl GraphicsState{
let indices=&mesh.verts;
rpass.set_index_buffer(indices.buf.slice(..),indices.format);
let vert_id=mesh.submeshes[hit.convex_mesh_id.submesh_id.get() as usize].verts[vert.get() as usize].get();
rpass.draw_indexed(0..1,vert_id as i32,0..1);
// rpass.draw_indexed(0..1,vert_id as i32,0..1);
rpass.draw_mesh_tasks(1, 1, 1);
},
}
}