Simple plugin for BepinEx to get output from console what rendering api is using current unity game ex. DirectX 9/10/11/OpenGL/Vulkan I've needed this to use in Reshade.
Plugin avalible from download or to build your own version you need:
-UnityEngine.CoreModule.dll
-UnityEngine.dll
-BepInEx.dll
*avalibe in X:\Game\Game_Data\Managed
Add references to project solution compile, done.