TextureRenderer and StencilState?

Hi!



Does StencilState work with TextureRenderer?



I have tried writing to the stencilbuffer while renderering with the normal renderer, and then rendering to a texture with TextureRenderer, testing the stencilbuffer and I didn't get it to work,



so I wonder if it's possible?