Functions in GLSL behave like in C, and similar to Java methods. ... function that uses inout qualifier void multiplyByTwo(inout float value) { value *= 2; } ...
確定! 回上一頁