示例#1
0
        public IFuturePrototype GetImagePrototype(ImageParameterTypeIfc parameterType, FutureFeatures features)
        {
            D.Assert(parameterType == null);
            IFuturePrototype prototype = new ApplyPrototype(new RenderedTileFetch(this.namingScheme), new IFuturePrototype[]
            {
                new UnevaluatedTerm(TermName.TileAddress)
            });

            return(VETileSource.AddFeatures(prototype, features & (FutureFeatures)(-3), this.cachePackage));
        }
示例#2
0
        public IFuturePrototype GetImagePrototype(ImageParameterTypeIfc parameterType, FutureFeatures features)
        {
            D.Assert(parameterType == null);
            IFuturePrototype futurePrototype = new ApplyPrototype(new VETileFetch(this.veStyle), new IFuturePrototype[]
            {
                new UnevaluatedTerm(TermName.TileAddress)
            });

            futurePrototype = VETileSource.AddFeatures(futurePrototype, FutureFeatures.Cached & features, this.cachePackage);
            IFuturePrototype prototype = new ApplyPrototype(new VETileUpsamplerVerb(futurePrototype), new IFuturePrototype[]
            {
                new UnevaluatedTerm(TermName.TileAddress)
            });

            return(VETileSource.AddFeatures(prototype, features, this.cachePackage));
        }