How exactly is scissor rect used in DX9?,
Members - Reputation: 145
Posted 05 November 2012 - 07:06 AM
I'm just curious how exactly scissor rect is used in DX9?
There is little about it in the doc.
And i know that there is a render state "D3DRS_SCISSORTESTENABLE" to be enabled if scissor rect is used.
I tried enabled it and set the rect before clear operation , it worked fine but the text is not clipped.
But if I moved the operations after the clear operation , it didn't work at all.
What's is going on under the hood??
somebody give me some tips , appreciate it !!