11 if (!strcmp(dataType,
"SCALAR")) {
14 if (!strcmp(dataType,
"VEC2")) {
17 if (!strcmp(dataType,
"VEC3")) {
20 if (!strcmp(dataType,
"VEC4")) {
23 if (!strcmp(dataType,
"MAT2")) {
26 if (!strcmp(dataType,
"MAT3")) {
29 if (!strcmp(dataType,
"MAT4")) {
38 switch (componentType) {
size_t getAttributeStride(size_t componentType, char *dataType)
size_t getComponentByteLength(size_t componentType)
size_t getNumberOfComponents(char *dataType)