> Collisions aren't part of a graphics API.

You can do occlusion queries though, which is a form of 2D collision detection similar to what home computer sprite hardware provided ;)