GPU/GL Arrays: Difference between revisions
No edit summary |
|||
Line 181: | Line 181: | ||
|- | |- | ||
| 1 | | 1 | ||
| Entry | | Entry attribute permutation (lower 8 bytes) | ||
|- | |- | ||
| 2 | | 2 | ||
| Value is: <nowiki> | | Value is: <nowiki>((numattrib)<<28 | (stride<<16) | ((attrib_permuation>>32)&0xFFFF).</nowiki> (stride in bytes) | ||
|} | |} | ||
A given entry corresponds to a buffer, but a single buffer may contain attributes of multiple different interlaced attributes, hence the attribute permutation parameter which lists the various attributes that can be found in the buffer, and in which order. | |||
When the entry is unused, the entry data is all-zero. | When the entry is unused, the entry data is all-zero. | ||
===== Array data-type/size values ===== | ===== Array data-type/size values ===== |