| VertexBuffer |
| Default |
| Indexed | Whether this vertex buffer has any indexes. This is set by Sandbox.VertexBuffer.Init(System.Boolean). |
| Add | Add a vertex |
| AddIndex | Add an index. This is relative to the top of the vertex buffer. So 0 is Vertex.Count., 1 is Vertex.Count -1 |
| AddRawIndex | Add an index. This is NOT relative to the top of the vertex buffer. |
| AddTriangleIndex | Add a triangle by indices. This is relative to the top of the vertex buffer. So 0 is Vertex.Count. |
| Clear | Clear all vertices and indices, and resets Sandbox.VertexBuffer.Default. |
| Draw | Draw this mesh using Material |
| Init | Clear the buffer and set whether it will have indices. |
| AddCube | Add a cube to the vertex buffer. Will include indices if they're enabled. |
| AddQuad | Add a quad to the vertex buffer. Will include indices if they're enabled. |
| AddTriangle | Add a triangle to the vertex buffer. Will include indices if they're enabled. |