Jump to content
  • Advertisement
Sign in to follow this  
feal87

Stencil Buffer WriteMask

This topic is 3043 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 Direct3D10 the Stencil Read/Write mask is a byte (from 0x00 to 0xFF) In Direct3D9 the Stencil Read/Write mask is a int (from 0x00000000 to 0xFFFFFFFF) The question is : How the stencil read/write mask in Direct3D10 relate to the Direct3D9 one? Direct3D10 | 0x00FFFFFF or Direct3D10 | 0xFFFFFF00 ? And another question : Why the Direct3D9 one is a 32 bit integer when the stencil can be max 8 bit? o.O Thanks :)

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!