Render passes are now handled with an enum