Directx Find Closest Matching Mode