Added member function to configure render mode.