Files
LuaCsForBarotraumaEP/Libraries/MonoGame.Framework/Src/MonoGame.Framework.Content.Pipeline/Graphics/EffectMaterialContent.cs
2019-06-25 16:00:44 +03:00

27 lines
978 B
C#

// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using Microsoft.Xna.Framework.Content.Pipeline.Processors;
namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics
{
public class EffectMaterialContent : MaterialContent
{
public const string EffectKey = "Effect";
public const string CompiledEffectKey = "CompiledEffect";
public ExternalReference<EffectContent> Effect
{
get { return GetReferenceTypeProperty<ExternalReference<EffectContent>>(EffectKey); }
set { SetProperty(EffectKey, value); }
}
public ExternalReference<CompiledEffectContent> CompiledEffect
{
get { return GetReferenceTypeProperty<ExternalReference<CompiledEffectContent>>(CompiledEffectKey); }
set { SetProperty(CompiledEffectKey, value); }
}
}
}