Scissor/Clip Drawing Region
A lot of immediate mode drawing APIs contain a way to set a scissor/clip region. This is particularly useful for things like scroll views. Is there any way to do that in Shapes? If not, is it something that could potentially be added?
sorry, I'm on vacation with no computer!
but something like this:
Draw.StencilRefID = 1;
Draw.StencilComp = CompareFunction.Always;
Draw.StencilOpPass = StencilOp.Replace;
// draw mask here
Draw.StencilComp = CompareFunction.Equal;
// masked things here