def __init__(self, name):
        """ Internal method to create a new image """
        RPObject.__init__(self, name)
        Texture.__init__(self, name)
        Image.REGISTERED_IMAGES.append(self)
        self.set_clear_color(0)
        self.clear_image()
        self.sort = RenderTarget.CURRENT_SORT
 Internal method to create a new image 
metadrive/render_pipeline/rpcore/image.py