public Mesh(VertexSource vertices, IndexSource indices, params MeshSubset[] subsets) { Vertices = vertices; Indices = indices; Subsets = subsets; }
public static bool Equals(VertexSource vs1, VertexSource vs2) { return ReferenceEquals(vs1.Buffer, vs2.Buffer) && vs1.Offset == vs2.Offset && vs1.Stride == vs2.Stride; }