28 if (unit >= VA_MAX_COLOR_UNITS)
55 attribute.
unit = unit;
64 LogError(
"Exceeded maximum attributes.");
79 unsigned int& unit,
unsigned int&
offset)
const 85 type = attribute.
type;
86 unit = attribute.
unit;
91 LogError(
"Invalid index " + std::to_string(i) +
".");
100 if (attribute.
semantic == semantic && attribute.
unit == unit)
116 LogError(
"Invalid index " + std::to_string(i) +
".");
127 LogError(
"Invalid index " + std::to_string(i) +
".");
#define LogError(message)
GLint GLint GLsizei GLint GLenum GLenum type