More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.

This commit is contained in:
Jason Sams
2010-01-06 11:57:52 -08:00
parent 432bff01ec
commit a09a6e145b
14 changed files with 205 additions and 104 deletions

View File

@@ -298,7 +298,8 @@ public class Element extends BaseObj {
dk == DataKind.POSITION ||
dk == DataKind.TEXTURE ||
dk == DataKind.NORMAL ||
dk == DataKind.POINT_SIZE)) {
dk == DataKind.POINT_SIZE ||
dk == DataKind.USER)) {
throw new IllegalArgumentException("Unsupported DataKind");
}