Replaced the old VS templates with ones that offer more flexiblity. Started replacing the Content Project for the samples with our custom project type. Inlcuded a basic not yet working AssimpImporter.
38 lines
930 B
C#
38 lines
930 B
C#
#region Using Statements
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ANX.Framework.NonXNA;
|
|
|
|
#endregion
|
|
|
|
// 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.Processors
|
|
{
|
|
public class CompiledEffectContent : ContentItem
|
|
{
|
|
[ContentSerializer(ElementName = "EffectCode", AllowNull = false)]
|
|
private byte[] effectCode;
|
|
|
|
public CompiledEffectContent(byte[] effectCode)
|
|
{
|
|
this.effectCode = effectCode;
|
|
}
|
|
|
|
public byte[] GetEffectCode()
|
|
{
|
|
return effectCode;
|
|
}
|
|
|
|
public EffectSourceLanguage SourceLanguage
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|