Class: Mesh

Mesh

new Mesh(gl, the, indices)

A Mesh consists of a VVVV.Types.VertexBuffer object and a list of indices. It creates a new index buffer in the given WebGL context. Mesh objects are usually created by (EX9.Geometry) nodes and flow into a shader node's Mesh input pin

Parameters:
Name Type Description
gl WebGlContext

the WebGL context

the VVVV.Core.VertexBuffer

vertex data

indices Array

the list of indices

Source:

Members

indexBuffer

Source:

numIndices

Source:

vertexBuffer

Source:
VVVV.js Copyright © 2012-2013 The contributors to the VVVV.js project.
Documentation generated by JSDoc 3.3.0-alpha4 on Thu May 08 2014 13:12:35 GMT+0200 (Mitteleuropäische Sommerzeit) using the DocStrap template.