The geometry type this cache stores, taken from @fourjs/render's render item
rather than imported from @fourjs/geometry.
@fourjs/render-webgl's dependencies are core, math, and render (plan
§3.1, frozen). Deriving the type from RenderItem["geometry"] gives the full
BufferGeometry surface — id, version, positions, indices, mode,
drawCount — with no new edge in the dependency matrix, and it stays correct
by construction: if RenderItem.geometry is ever widened, this follows.
The geometry type this cache stores, taken from
@fourjs/render's render item rather than imported from@fourjs/geometry.@fourjs/render-webgl's dependencies arecore,math, andrender(plan §3.1, frozen). Deriving the type fromRenderItem["geometry"]gives the fullBufferGeometrysurface —id,version,positions,indices,mode,drawCount— with no new edge in the dependency matrix, and it stays correct by construction: ifRenderItem.geometryis ever widened, this follows.