<multi-vertex-array> ( vertex-formats program-instance -- vertex-array )
GPU-accelerated rendering > Shader objects

Prev:vertex-array
Next:<vertex-array*> ( vertex-buffer program-instance format -- vertex-array )


Vocabulary
gpu.shaders

Inputs and outputs
vertex-formatsa list of buffer-ptr/vertex-format pairs
program-instancea program-instance
vertex-arraya vertex-array


Word description
Creates a new vertex-array to feed data to program-instance from the set of buffers specified in vertex-formats. The first element of each pair in vertex-formats can be either a buffer-ptr or a buffer; in the latter case, vertex data in the associated format is read from the beginning of the buffer.

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

Definition