draw_mesh_tasks
This commit is contained in:
@@ -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);
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user