public void SetOutputTexture(int idx, Texture tex) { outTex [idx] = tex; }
internal void WriteColor(int colorReg, int i, int j, Texture outtex) { outtex.WriteColor (i, j, colorOut [colorReg]); }
public Sampler(Texture tex) { this.tex = tex; }