- Removed the sharpdx references from the Metro shader generator - Added a basic path searching to the metro shader generator to find the correct path to the fxc tool
31 lines
669 B
C#
31 lines
669 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
namespace ANX.Framework.Content.Pipeline.Graphics
|
|
{
|
|
public sealed class IndexCollection : Collection<int>
|
|
{
|
|
public IndexCollection()
|
|
{
|
|
}
|
|
|
|
public void AddRange(IEnumerable<int> indices)
|
|
{
|
|
if (indices == null)
|
|
{
|
|
throw new ArgumentNullException("indices");
|
|
}
|
|
|
|
foreach (int index in indices)
|
|
{
|
|
Items.Add(index);
|
|
}
|
|
}
|
|
}
|
|
}
|