A sensing device includes a sensing surface, and a matrix overlaying the sensing surface. The sensing device includes a photoformed membrane overlaying at least a portion of the matrix. The photoformed membrane includes a directly photoformed organosiloxane polymer that is substantially permeable to gaseous molecules and substantially impermeable to non-gaseous molecules and ions.