RemoveView

Removes a rendering view.

bool RemoveView(View *view, ViewConfig *config, rte::Error *err = nullptr)
Since
Available since v4.4.0.

After calling AddView to add a view, you can call this method to remove the view if needed.

Note: Only one view can be removed at a time.

Timing

This method must be called after calling AddView.

Parameters

view
The view object to be removed.
config
Settings of the view object, currently pass NULL.
err
Output parameter, status or error information. See Error.

Return Values

  • true: View removed successfully.
  • false: Failed to remove view.