core: added directx interop implementation and sample