DirectX is an API, that is, it's a standard was of interacting with graphics cards. It doesn't matter what graphics card a person has, as long as you're DirectX compliant then it'll work.
The alternative is low level coding, which accesses the features of the hardware more directly, but in...