Can you pass a fixed-size array as a GLSL function parameter?
你可以通过一个固定大小的数组作为GLSL函数参数吗?
Type and Length is fix size array, for instance, Type is 2 bytes, Length is 2 or 4 bytes.
类型和长度都是固定长度的字段,比如,类型一般是2个字节,长度一般是2个或者4个字节。
Another useful addition is the SplFixedArray class, which, as the name implies, is a fixed-size array implementation.
另一个有用的补充是splfixedarray类,顾名思义,这是一个固定大小的数组实现。
And how about if the array is size N, and I say bracket N, where am I referring?
如果那个数组的大小为N,那会怎么样,我指明,涉及到了那个地方?
应用推荐