Direct2D effects data RRS feed

  • Question

  • I need to pass a larger array to a custom Direct2d effect, I guess the best way to pass this data would be via a texture.

    How can I pass the texture to the effect? I saw there is the method ID2D1EffectContext::CreateResourceTexture but I am not sure how I could access a texture created by this method in the shader.

    Sunday, September 16, 2012 11:25 AM