News for hackers. Stuff that matters.
Re:Valve releases Team Fortress 2 game code by arduinomancer on Wednesday February 19, 2025 @01:53AM (#43099340)
Not sure about UE but I’ve worked on other engines and usually you just have an interface that abstracts platform APIs and each platform implements the same interface

The implementations get compiled in based on whatever platform you’re compiling for using a bunch of #ifdef statements

In that case it’s just a matter of not including certain .h/.cpp files

There are no comments on this comment yet.