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

@@ -60,7 +60,9 @@ namespace OpenRA.FileFormats.Graphics
public interface IShader
{
void SetVec(string name, float x);
void SetVec(string name, float x, float y);
void SetVec(string name, float[] vec, int length);
void SetTexture(string param, ITexture texture);
void SetMatrix(string param, float[] mtx);
void Render(Action a);