• Advertisement
Sign in to follow this  

Does Direct2D support stencil test

This topic is 1768 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement