A device is casting when it is using a casting material or when it is being used to produce a casting effect.