Effect State Save and Restore Flag = 0
Hi guys,
I'm working on dx effect files. As per the doc, Begin() takes a flag to indicate whether you want to save the device's state and revert it at the end. Most of the samples that I have seen make use of a '0' as the effect save and restore flag. Does it save and restore all the states (shader, texture, render, transform state etc)?
Thanks in advance
KumGame
I think 0 means save state, as there's special flags for not saving state. In Xna this is reversed and state is not saved by default.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement