📜  glsl uniform struct - 汇编代码示例

📅  最后修改于: 2022-03-11 14:48:10.100000             🧑  作者: Mango

代码示例1
struct TheStruct
{
  vec3 first;
  vec4 second;
  mat4x3 third;
};

uniform vec3 oneUniform;
uniform TheStruct aUniformOfArrayType;
uniform mat4 matrixArrayUniform[25];
uniform TheStruct uniformArrayOfStructs[10];