Add renderer support for additional vec* uniforms.

This commit is contained in:
Paul Chote
2013-03-02 10:36:58 +13:00
parent 064938378f
commit 9566385aac
4 changed files with 52 additions and 0 deletions

View File

@@ -58,7 +58,9 @@ namespace OpenRA.Renderer.Null
public class NullShader : IShader
{
public void SetVec(string name, float x) { }
public void SetVec(string name, float x, float y) { }
public void SetVec(string name, float[] vec, int length) { }
public void SetTexture(string param, ITexture texture) { }
public void SetMatrix(string param, float[] mtx) { }
public void Commit() { }