EDIT: Oh, but the compiler is not open-source
Show differencesHistory of post edits
#Actualhupsilardee
Posted 04 November 2012 - 09:29 PM
The effects framework is now open-source. I haven't looked at the code yet, but surely you could copy the relevant part that parses effect files?
EDIT: Oh, but the compiler is not open-source
In that case, the best I can think of is that you write your own parser that reads the file and generates sampler states. Painful.
EDIT: Oh, but the compiler is not open-source
#1hupsilardee
Posted 04 November 2012 - 09:20 PM
The effects framework is now open-source. I haven't looked at the code yet, but surely you could copy the relevant part that parses effect files?