<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 )


Vocabulary
gpu.shaders

Inputs
vertex-buffera buffer or buffer-ptr
program-instancea program-instance
formata vertex-format


Outputs
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>

Definition