PhotoshopCC 2015.5
Enumeration

DepthMapSource

Depth map source options.

Values

NameType AccessDescription
Int = 4 readonly Uses the image highlight for the depth map.
Int = 3 readonly Uses the layer mask for the depth map.
Int = 1 readonly No depth map in use.
Int = 2 readonly Uses the transparency channel for the depth map.

Parameter of 1

Method parameters that accept an DepthMapSource value.