0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/UltimateZoneBuilder.git synced 2024-12-19 08:31:01 +00:00
UltimateZoneBuilder/Source/Core/Rendering/Effect.cs

69 lines
1.3 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace CodeImp.DoomBuilder.Rendering
{
public class Effect
{
public static Effect FromStream(Stream stream, ShaderFlags flags, out string errors)
{
errors = "";
return new Effect();
}
public void SetTexture(EffectHandle handle, BaseTexture texture)
{
}
public void SetValue<T>(EffectHandle handle, T value) where T : struct
{
}
public EffectHandle GetParameter(EffectHandle parameter, string name)
{
if (!Parameters.ContainsKey(name))
{
Parameters[name] = new EffectHandle();
}
return Parameters[name];
}
public void CommitChanges()
{
}
public void Begin()
{
}
public void BeginPass(int index)
{
}
public void EndPass()
{
}
public void End()
{
}
public void Dispose()
{
}
Dictionary<string, EffectHandle> Parameters = new Dictionary<string, EffectHandle>();
}
public class EffectHandle
{
public void Dispose()
{
}
}
}