Does Direct2D support stencil test

Started by
-1 comments, last by leonard2012 11 years ago

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?

This topic is closed to new replies.

Advertisement