Find a memory type index suitable for the given allowedIndexMask and info.
the memory types obtained from a device
the mask obtained from MemoryRequirements.memTypeMask
an optional AllocOptions that will constraint the choice
the found index of memory type, or uint.max if none could satisfy requirements
See Implementation
Find a memory type index suitable for the given allowedIndexMask and info.