"real" 3d code that your referring too most of the time isnt even what they use to make the games, they use c++/c# to make the engines, and then most of the time a scripting language is attached to it, so in your head what you need to know is if you want to be an engine programmer, or a game programmer.