locked
DirectX Content in WinJS app

    General discussion

  • Hello!

    I'm writing a Windows Store app using HTML5/JavaScript + WinJS. However, it needs some high-performance rendering and I want to use DirectX for that scenarios. Rewriting app using XAML/C++ is not an option. But I know that from JavaScript I can call C++ libraries and use classes/properties/fields from it. So, the question is what is the best scenario to use DirectX Surface in my HTML5/JavaScript app? Can I use that surface directly (as I understand from documentation, it is not allowed) or can I get bitmap with back buffer and take it to my HTML/JavaScript image?

    Which interoperation between DirectX and HTML5/JavaScript + WinJS would you suggest?

    Thanks for help!

    Regards,

    Nikita A. Skoblov

    Monday, September 24, 2012 9:13 AM

All replies