Initial support for multiple passes and draw count.