< Previous | Contents | Next >
The concept of references is simple, but its implications are profound. In this chapter, you’ll learn about references and how they can help you write more efficient game code. Specifically, you’ll learn to:
n Create references
n Access and change referenced values
n Pass references to functions to alter argument values or for efficiency
n Return references from a function for efficiency or to alter values