O'Reilly logo
  • Musharraf Azeem thinks this is interesting:

default values are filled in for the missing components


Cover of OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition


If neither a vextex-attribute array nor a static vertex-attribute are specified for an attribute, does it get the default value for the attribute type (eg. (0,0,0,1) for a vec4) or is it undefined?