这里的for循环还需要接入一个N(循环端子),首先将输入的二维数组连接到数组大小函数(array size),然后在将其输出端连接到一个索引数组函数(index array),此时只有一个索引接线端,接常数0,输出端连接到N,就可以了。
基于12个网页-相关网页
样式表使用count函数计算数组大小。
The stylesheet computes the array size with the count function.
切片s的容量是数组从s[0]到数组尾端的大小,并由内建的cap函数返回。
The capacity of a slice s is the size of the array from s [0] to the end of the array, and is returned by the cap built-in function.
你可以通过一个固定大小的数组作为GLSL函数参数吗?
Can you pass a fixed-size array as a GLSL function parameter?
应用推荐