public ColladaShader Clone()
        {
            ColladaShader clone = new ColladaShader(game);

            clone.shader = shader.Clone();

            clone.LoadTechniques();
            clone.LoadParameters();
            return(clone);
        }
示例#2
0
        public SkinnedShader Clone()
        {
            SkinnedShader clone = new SkinnedShader(game);

            clone.shader = shader.Clone();

            clone.LoadTechniques();
            clone.LoadParameters();
            return(clone);
        }