clone method

Renderer clone()

Clones the Renderer.

Return Value: A new Renderer with the same values as the current Renderer.

Implementation

Renderer clone() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Renderer_clone(
      _handle,
      errorHandler,
    );
  });
  return Renderer._fromHandle(
    objectHandle,
  )!;
}