public string getOcclusionSourceLabel() { switch (source) { case OcclusionSource.DepthTexture: return("Depth"); case OcclusionSource.DepthNormalsTexture: return("Normals"); } return(source.ToString()); }