728x90
반응형
int newFunction(in vec4 aVec4, // read-only
out vec3 aVec3, // write-only
inout int aInt); // read-write
The default is in. The inout qualifier is similar to a call by reference.
728x90
반응형
'College Study > GLSL' 카테고리의 다른 글
| [GLSL] Circle (0) | 2022.01.06 |
|---|---|
| [GLSL] Rectangle (0) | 2022.01.05 |
| [GLSL] Atan (0) | 2022.01.05 |
| [GLSL] Mix (0) | 2022.01.05 |
| [GLSL] Color (0) | 2022.01.05 |
댓글