Hi there,
I’m new here and this is my first post.
I basically have three questions regarding writing data to an output buffer.
The code I saw so far looks like this:
g_odata[y*imgw+x] = rgbToInt(rsum, gsum, bsum)
-
It looks like one can have three values and assign them to an array
by using only one index. How does this work?
-
Where can I find documentation about rgbToInt().
-
How can I write float4 (or float3) to an output buffer?
It would be great if someone has answers for me!