mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
68 lines
1.3 KiB
C#
68 lines
1.3 KiB
C#
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()
|
|
{
|
|
}
|
|
}
|
|
}
|