Small utilities wrapper for DirectX11