clone method

  1. @override
OpenGLTexture clone()
override

Implementation

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