示例#1
0
        public string getOcclusionSourceLabel()
        {
            switch (source)
            {
            case OcclusionSource.DepthTexture:
                return("Depth");

            case OcclusionSource.DepthNormalsTexture:
                return("Normals");
            }

            return(source.ToString());
        }