Load an image from the specified file with a specified name.
Load an image from the specified file with a specified name.
1 string name
the key to use for the image.
2 string path
the path to the image file.
3 string wrapTypeH
the horizontal image wrapping mode. Refer to love2d documentation for this.
4 string wrapTypeV
the vertical image wrapping mode. Refer to love2d documentation for this.
5 FilterMode filterMin
the filter to use when rendering this texture when zoomed out. Refer to the love2d documentation for this.
6 FilterMode filterMag
the filter to use when rendering this texture when zoomed in. Refer to the love2d documentation for this.
1 Image
the newly loaded image.