Optional
widthNumber of horizontal segments
Optional
heightNumber of vertical segments
Optional
phiHorizontal starting angle
Optional
phiHorizontal sweep angle size
Optional
thetaVertical starting angle
Optional
thetaVertical sweep angle size
Optional
instancesNumber of geometry instances to draw
Optional
topologyTopology to use with this Geometry, sent to the render pipeline. Whether to draw triangles, lines or points (see https://www.w3.org/TR/webgpu/#enumdef-gpuprimitivetopology)
Optional
vertexArray of VertexBufferParams used to create VertexBuffer on geometry creation
Optional
mapWhether to map the vertex buffers at creation.
Parameters used to create a SphereGeometry