added support for sharpdx