 "Render data inside GPU " { $link buffer } "s is organized into " { $link vertex-array } "s for consumption by shader code:"
 { $subsections
     vertex-array
-    <vertex-array>
-    buffer>vertex-array
+    <multi-vertex-array>
+    vertex-array
     POSTPONE: VERTEX-FORMAT:
 } ;
 

}
{ $description "Returns the numeric index of the vertex attribute named " { $snippet "attribute-name" } " in " { $snippet "program-instance" } "." } ;

HELP: buffer>vertex-array
{ $values
    { "vertex-buffer" buffer } { "program-instance" program-instance } { "format" vertex-format }
    { "vertex-array" vertex-array }
}
{ $description "Creates a new " { $link vertex-array } " from the entire contents of a single " { $link buffer } " in a single " { $link vertex-format } " for use with " { $snippet "program-instance" } "." } ;

{ vertex-array <vertex-array> buffer>vertex-array } related-words

HELP: compile-shader-error
{ $class-description "An error compiling the source for a " { $link shader } "."

{ $class-description "This " { $link shader-kind } " indicates that a " { $link shader } " is a vertex shader." } ;

HELP: vertex-array
{ $class-description "A " { $snippet "vertex-array" } " object associates a shader " { $link program-instance } " with vertex attribute data from one or more " { $link buffer } "s. The format of the binary data inside these buffers is described using " { $link vertex-format } "s. " { $snippet "vertex-array" } "s are constructed using the " { $link <multi-vertex-array> } " or " { $link <vertex-array*> } " words." } ;

HELP: vertex-array-buffer
{ $values
