Used in-game hook to determine render stage