If the cancer starts inside the eyeball, it is called intraocular cancer. The most common type in adults is intraocular melanoma. It starts in the middle layer of the eye.