[minor] allow different render modes