backwards compatible with DirectX 10