[SOLVED] Indexed BufferGeometry Mesh example

If I am not mistaken, this example does not actually utilize an index buffer as stated in the BufferGeometry docs: Complex Mesh with Indexed Faces. This seems very similar (albeit with some optimizations) to this example.

I am looking for an example of building a BufferGeometry for a Mesh that includes an index buffer.

I see this example for generating indexed lines.

Eventually my objective is to include this in a ThreeLib sample. I can write non-indexed BufferGeometry just fine.

Maybe I’m confused about what Indexed BufferGeometry should look like.

Nevermind, this jsfiddle confirms what I thought it should look like. From this stackoverflow question.