コード例 #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
 public void SetArg(int argnum, GlCombineArg arg)
 {
     Args[argnum] = arg;
 }
コード例 #4
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 );
    }