@willmotil wrote:
To say if i have a class file .cs with hlsl code in a string there.
Is it possible to directly parse and load it into the gpu as a effect at game load time ?
I mean from the cs file.I was thinking it would be nice to have its opposite code variables to be passed, vertice buffers, vertex structs noted or contained in a corresponding class so i could reduce it all down to just calling a method.
Because im lazy and all and want to save time, i thought i have to open up the .fx and see which variables i need to pass and then i have to copy them ect... This costs me a extra 20 or 30 seconds and is distracting.
Yes im serious this is a real question lol.
Posts: 3
Participants: 2