Example #1
0
        // 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);
        }
Example #2
0
 public void SetArg( int argnum, GlCombineArg arg )
 {
     Args[argnum] = arg;
 }
Example #3
0
        // 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 );
        }
Example #4
0
 public void SetArg(int argnum, GlCombineArg arg)
 {
     Args[argnum] = arg;
 }