Modify interface to support multi-pass rendering.