Hololight Stream for Unity and DirectX

Objectives

  • Understand what versions of DirectX are compatible with Hololight Stream

  • Understand which versions of Unity support Single Pass Instanced rendering with DirectX 12 on Hololight Stream

DirectX

Hololight Stream supports DirectX 11 and DirectX 12.

DirectX 12

While Hololight Stream supports DirectX 12, Single Pass Instanced rendering in Hololight Stream doesn’t work with DirectX 12 in all versions of Unity. Single Pass Instanced rendering with DirectX 12 is only supported with Unity versions 6.0.X and 6.3.X.

For more information on Single Pass Instanced rendering, check out Unity’s documentation about Single Pass Instanced rendering.

Unity versions that support Single Pass Instanced rendering with DirectX 12

Unity version

Supports Unity Single Pass Instanced rendering with DirectX 12

2022.3.X

No

6.0.X

Yes

6.3.X

Yes

Setup DirectX 12 for Hololight Stream for Unity

To use DirectX 12 with Hololight Stream you need to set it as the primary graphics API in your Unity project.

  1. Select Edit > Project Settings > Player.

  2. Under Graphics APIs for Windows make sure Direct3D12 is the first in the list.

For more information on DirectX in Unity, check out Unity’s page DirectX.