4 Replies Latest reply on Feb 26, 2010 8:59 AM by makc3d

    ShaderJob/BitmapData: Error #2167

    makc3d Level 1

      Error #2167: The Shader does not have the required number of inputs for this operation.


      The code


      j = new ShaderJob (new Shader (new F), bmp.bitmapData);
      j.shader.data.src = bmp.bitmapData; j.start ();


      fails with the above message, BUT the code


      f = new ShaderFilter (new Shader (new F));

      bmp.bitmapData.applyFilter (bmp.bitmapData, bmp.bitmapData.rect, bmp.bitmapData.rect.topLeft, f);


      works fine. What am I missing here?