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: