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