smrendererv3/SMCode/SM.Base/Objects/Mesh.cs
Michel Fedde 5d4b360b05 ~ Changed Pipelines
(Default2DPipeline: Has Lights, Post-ProcessingEffects, etc.)
(Basic2DPipeline: Simple Color and Texture stuff, thats it)
2020-12-19 18:31:44 +01:00

25 lines
No EOL
504 B
C#

#region usings
using SM.OGL.Mesh;
#endregion
namespace SM.Base.Objects
{
/// <inheritdoc />
public class Mesh : GenericMesh
{
/// <summary>
/// While initializing, it will add the <see cref="Color" /> to the data index.
/// </summary>
public Mesh()
{
Attributes.Add(3, "color", Color);
}
/// <summary>
/// Contains vertex colors
/// </summary>
public virtual VBO Color { get; }
}
}