pub fn create_index_buffer<T>( device: &Device, vertices: Vec<T>, indices: Vec<u16>, ) -> (Buffer, Buffer)where T: NoUninit,
create an index buffer from the given vertices and indices