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 buffer can be max 8 bit? o.O
Thanks.