ReadonlycolorBuffer backing the optional per-vertex colour attribute (§53, §60a; R-19),
or null. Bound at COLOR_ATTRIBUTE_LOCATION; consumed only by an unlit
draw whose material sets vertexColors — which is how §113's debug-draw
overlay reaches the screen (R-35).
ReadonlycountElements one draw call issues — indices when indexed, vertices otherwise.
ReadonlyindexIndex buffer, or null for a non-indexed geometry.
ReadonlyindexIndex element type (GL.UNSIGNED_SHORT or GL.UNSIGNED_INT),
or null when the geometry is not indexed — which is also the flag that
selects drawArrays over drawElements.
ReadonlyjointBuffer backing the optional joint-index attribute (§53, §54; RFC 0003),
or null. Bound at JOINTS_ATTRIBUTE_LOCATION as non-normalized
UNSIGNED_SHORT — the skinned pipelines declare in vec4 joints and
index with int(...); every other program ignores the slot.
ReadonlymodePrimitive mode: GL.TRIANGLES or GL.LINES.
Readonlynormal1Buffer backing the optional first morph-target normal stream (§54),
or null. Bound at NORMAL1_ATTRIBUTE_LOCATION.
ReadonlynormalBuffer backing the optional normal attribute (§53, §68), or null for a
position-only geometry. Bound at the fixed NORMAL_ATTRIBUTE_LOCATION
inside the vertex array, so the lit pipeline reads it with no extra
per-draw call — and the unlit pipeline, which declares no normal input,
ignores it for free.
Readonlyposition1Buffer backing the optional first morph-target position stream (§54),
or null. Bound at POSITION1_ATTRIBUTE_LOCATION.
ReadonlypositionBuffer backing the position attribute.
ReadonlyuvBuffer backing the optional uv attribute (§53, §55; R-19), or null for a
geometry with no texture coordinates. Bound at
UV_ATTRIBUTE_LOCATION inside the vertex array; the unlit and lit
pipelines declare the slot and sample it only when their material carries a
map, and the sprite pipeline — which derives uv from position — ignores
it entirely.
ReadonlyversionBufferGeometry.version this record was uploaded from.
ReadonlyvertexVertex array holding the attribute and element-array bindings.
ReadonlyweightBuffer backing the optional joint-weight attribute (§53, §54; RFC 0003),
or null. Bound at WEIGHTS_ATTRIBUTE_LOCATION; consumed only by the
skinned pipelines.
Everything one cached geometry needs at draw time.