I am new to direct3d. I am using direct2d library for scale effect, histogram etc. How can I create similar kind of effect using direct3d.