public void Insert(Content.Model9 model, Entity e, MetaModel metaResource, string metaName)
        {
            SplatTextureCombination stc = new SplatTextureCombination
            {
                BaseTexture = model.BaseTexture,
                MaterialTexture = model.MaterialTexture,
                SplatTexture = model.SplatTexture
            };

            RenderLeaf r;
            if (!TextureCombinations.TryGetValue(stc, out r))
                TextureCombinations[stc] = r = new RenderLeaf();
            r.Insert(model, e, metaResource, metaName);
        }
Exemplo n.º 2
0
        public void Insert(Content.Model9 model, Entity e, MetaModel metaResource, string metaName)
        {
            SplatTextureCombination stc = new SplatTextureCombination
            {
                BaseTexture     = model.BaseTexture,
                MaterialTexture = model.MaterialTexture,
                SplatTexture    = model.SplatTexture
            };

            RenderLeaf r;

            if (!TextureCombinations.TryGetValue(stc, out r))
            {
                TextureCombinations[stc] = r = new RenderLeaf();
            }
            r.Insert(model, e, metaResource, metaName);
        }