Page History
...
declare my_attr constant INT my_attr 1
Center |
---|
|
Also, you can define the data as uniform, meaning one different value for each polygon (12 triangles here) by
declare my_attr uniform INT my_attr 12 1 INT 1 1 0 0 2 2 2 2 0 0 1 1
Center |
---|
|