inout 表示參數是引用傳遞,在函數內可以對參數進行讀寫。 ... read-only out vec3 aVec3, // write-only inout int aInt); // read-write.
確定! 回上一頁