<vertex-array*> ( vertex-buffer program-instance format -- vertex-array )
GPU-accelerated rendering > Shader objects

Prev:<multi-vertex-array> ( vertex-formats program-instance -- vertex-array )
Next:<vertex-array> ( vertex-buffer program-instance -- vertex-array )


Inputs and outputs
vertex-buffera buffer or buffer-ptr
program-instancea program-instance
formata vertex-format
vertex-arraya vertex-array

Word description
Creates a new vertex-array from the entire contents of a single buffer for use with a program-instance. The data in buffer is taken in the specified vertex-format.

See also
vertex-array, <multi-vertex-array>, <vertex-array>