// next line for testing only, comment out for ops //TestHarness Gl = new TestHarness(); public GlTextureCombine() { Args = new GlCombineArg[3]; Args[0] = new GlCombineArg(); Args[1] = new GlCombineArg(); Args[2] = new GlCombineArg(); Operation = OperationType.Modulate; Args[0].SetRgbaSource(GlCombineArg.Source.Fragment); Args[1].SetRgbaSource(GlCombineArg.Source.Texture); }
public void SetArg( int argnum, GlCombineArg arg ) { Args[argnum] = arg; }
// next line for testing only, comment out for ops //TestHarness Gl = new TestHarness(); public GlTextureCombine() { Args = new GlCombineArg[3]; Args[0] = new GlCombineArg(); Args[1] = new GlCombineArg(); Args[2] = new GlCombineArg(); Operation = OperationType.Modulate; Args[0].SetRgbaSource( GlCombineArg.Source.Fragment ); Args[1].SetRgbaSource( GlCombineArg.Source.Texture ); }
public void SetArg(int argnum, GlCombineArg arg) { Args[argnum] = arg; }