I actually would like to implement an array in my .fx file but having difficult to implement it.
After i spend my time to read the sdk, i found that uses Buffer keyword.
I would like to use Buffer as global variable. Say, it is something like this.
// hlsl
Buffer<int> intArray;
The value must be assigned before it is being ...