Does Direct2D support stencil test RRS feed

  • Question

  • In my app I use stencil test to restrict the graphics rendering inside a specified region. I use both Direct3D (for geometries) and Direct2D (for fonts) drawing functions. The issue is that the stencil test has no effect on Direct2D functions. This is unexpected as Direct2D is based on Direct3D. I just want to know if stencil test is supported in Direct2D, and will review my code to find bugs if it is supported. Otherwise, how can I implement similar feature to stencil test in Direct2D?
    Thursday, March 21, 2013 12:53 AM