Search Unity

DirectX 12 is the latest version of Microsoft’s graphics API designed to enable a reduction of driver overhead, allowing better use of multi-core systems. Depending on your project, you could see some great performance improvements with DirectX 12. For example, with our Book of the Dead: Environment scene we have seen a frame rate increase of over 8% running at 1440p on Xbox One X.

DirectX 12 on Xbox One brings with it Unity’s new Native Graphics Jobs, which also contributes a significant CPU performance improvement. Alongside these performance benefits, DirectX 12 also brings support for new rendering techniques in Unity, starting with Async Compute, which is available with DirectX 12 on Xbox One out of the box. Async Compute provides valuable GPU performance improvements for any titles that make use of compute on Xbox One.

Enabling DirectX 12

In Unity 2018.3, you will need to enable DirectX 12 to use it.  Change your Player Settings located in the Edit menu.

Disable the Auto Graphics API checkbox, add XboxOneD3D12 (Experimental) to the Graphics API list, and then remove XboxOne from the same list.

 

DirectX Roadmap

Throughout 2019 we will make DirectX 12 the default for all new projects. While we will maintain DirectX 11 for the foreseeable future, our primary focus is on improving the performance and feature set of DirectX 12.

If you encounter any problems with DirectX 12 please contact our support team or post on the Xbox One forums and we’ll be happy to look into this issue for you. We are ready and waiting to act on your feedback!

How do I bring my game to Xbox One?

Unity for Xbox One is available to anyone with a Xbox One development kit. Head over to www.xbox.com/id to sign up for Microsoft’s independent developer publishing program for Xbox One, ID@Xbox.

Once you’ve registered as a Microsoft developer, a representative will be in contact with you to let you know when you’ve been given access to the Xbox One Development forum for Unity. Here you can find an active community of other developers, get support from Unity, and download the Xbox One Unity editor add-on.

コメント受付を終了しました。

  1. If building for UWP and running that on the XBOX One, is directX12 supported too and if so what sort of performance improvement does that show?

  2. only 38 frames at 1440p on xbox one x that shows how awful DX12 is

    1. …How does an 8% increase count as awful?

      1. awful for what microsoft hyped the new api and when you compare it to vulkan this increase looks a joke

        1. So you just don’t know how APIs and optimization work?

  3. It would be way more impressive if Botd runs at 60 fps though.

  4. Does the same apply for PC?

    1. Yes, it applies to the PC as well. Through the same process in the player settings but it will be named differently and you would just need to assign DX12 to the top of the API list.