Sets a Texture object to display the icon of an equipped item. Adapts the square item icon texture to fit within the circular "portrait" frames used in many default UI elements.
See also Inventory functions.
texture- A Texture object (
unit- A unit whose item should be displayed; only valid for
slot- An inventory slot number, as can be obtained from