Наследование: ITextureEffectSemantic
 public IEffectSemantic Clone(IEffectParameterSet parameterSet)
 {
     var clone = new TextureEffectSemantic();
     clone.AttachToParameterSet(parameterSet);
     if (_parameterSet != null)
     {
         clone.Texture = this.Texture;
     }
     return clone;
 }
Пример #2
0
        public IEffectSemantic Clone(IEffectParameterSet parameterSet)
        {
            var clone = new TextureEffectSemantic();

            clone.AttachToParameterSet(parameterSet);
            if (_parameterSet != null)
            {
                clone.Texture = this.Texture;
            }
            return(clone);
        }