So I'm in the process of improving my material system, and what I'm trying to accomplish now, using the reflection api, is to make the user able to assign their variable values by their name, going well for now, but!
Whenever I define a global variable in my shader, let us call it _mSize, I can retrieve all kinds of information from it, it's offset, size, etc... These variables which aren't assigned to a buffer are put inside a global buffer (denoted as $Global in the docs), but is there any kind of way that I can modify/update this buffer, is it even possible?
Thank you, as usual.
Edited by Migi0027, 10 November 2013 - 09:52 AM.