For GLSL you would map it to either sampler1DShadow, sampler2DShadow, or samplerRectShadow, with appropriate enables and comparisons.