That sort of code does get reused a lot, when games are built on third-party (or in-house) engines. But I don&#x27;t think it would make sense to just consolidate <i>all</i> of it- engines make different tradeoffs on how geometry data is formatted, laid out, and processed, and that continues to be an area of optimization and innovation.<p>As far as initializing the hardware, that&#x27;s a relatively small, one-off piece of code that&#x27;s different for every platform (including consoles) anyway.