Doom Eternal uses Vulkan for the graphics instead of DirectX and we haven't added support for that yet.
Some PCs will emulate Vulkan using DirectX11, in which you will be record as normal using Game capture mode. But if that doesn't happen, you'll need to switch to Fullscreen capture mode and record using that instead.