clone method

  1. @override
OpenGLTexture clone()
override

Implementation

@override
OpenGLTexture clone() {
  return OpenGLTexture(image)..copy(this);
}