aglEndWatch

Removes the specified array from the list of viewable arrays.

int aglEndWatch(
  pvoid array
  );

Parameters

array
A pointer to array data that has previously been passed to aglStartWatch.

Return Value

Returns the value 0 if the call is successful; any other value indicates failure.

Remarks

The aglEndWatch function removes the given array from the list of viewable arrays and frees any associated resources used by the library. After aglEndWatch, the array must be passed to aglStartWatch before it can again be usable in calls such as aglShow, aglReshape, etc.

Before calling aglEndWatch, you might want to save the array as an .AGL file using aglSaveAsFile.

See Also

aglSaveAsFile, aglStartWatch