private void LoadSettings(string className)
        {
            BasicPrimitiveSettings s = Settings[className];

            ColorTextureVerts  = s.ColorTextureVerts;
            ColorVerts         = s.ColorVerts;
            Format             = s.Format;
            NormalTextureVerts = s.NormalTextureVerts;
            TextureVerts       = s.TextureVerts;
            Type         = s.Type;
            VertexBuffer = s.VertexBuffer;
            VertexOffset = s.VertexOffset;
        }
        private void SaveSettings(string className)
        {
            var s = new BasicPrimitiveSettings
            {
                ColorTextureVerts  = ColorTextureVerts,
                ColorVerts         = ColorVerts,
                Format             = Format,
                NormalTextureVerts = NormalTextureVerts,
                TextureVerts       = TextureVerts,
                Type         = Type,
                VertexBuffer = VertexBuffer,
                VertexOffset = VertexOffset
            };

            Settings.Add(className, s);
        }
 private void SaveSettings(string className)
 {
     var s = new BasicPrimitiveSettings
                 {
                     ColorTextureVerts = ColorTextureVerts,
                     ColorVerts = ColorVerts,
                     Format = Format,
                     NormalTextureVerts = NormalTextureVerts,
                     TextureVerts = TextureVerts,
                     Type = Type,
                     VertexBuffer = VertexBuffer,
                     VertexOffset = VertexOffset
                 };
     Settings.Add(className, s);
 }