Class representing a Circle primitive.

Hierarchy (View Summary)

Constructors

  • Creates a new instance of the Circle class.

    Parameters

    • redGPUContext: RedGPUContext

      The RedGPUContext instance.

    • Optionalradius: number = 1

      The radius of the circle.

    • Optionalsegments: number = 32

      The number of segments in the circle.

    • OptionalthetaStart: number = 0

      The angle at which the circle starts.

    • OptionalthetaLength: number = ...

      The length of the arc in radians.

    Returns Circle

Accessors

  • get gpuRenderInfo(): { buffers: GPUVertexBufferLayout[] }

    Returns { buffers: GPUVertexBufferLayout[] }

  • get primitiveInterleaveStruct(): InterleavedStruct

    Returns InterleavedStruct

Methods