Function MeshLibrary.setItemPreview

Sets a texture to use as the item's preview icon in the editor.

void setItemPreview (
  const(long) id,
  Texture texture
) nothrow @nogc;