#region usings using OpenTK.Graphics.OpenGL4; using SM.OGL.Mesh; #endregion namespace SM.Base.Objects { /// public class Mesh : GenericMesh { /// /// While initializing, it will add the to the data index. /// public Mesh(PrimitiveType type) { PrimitiveType = type; Attributes.Add(3, "color", Color); } /// /// Contains vertex colors /// public virtual VBO Color { get; protected set; } } }