Function drawIndexed

  • Submits an indexed draw call in the current render pass.

    Parameters

    • device: Device

      the GPU device

    • indexCount: number

      the number of vertices to draw

    • instanceCount: number = 1

      the number of instances to draw. Defaults to 1

    • firstIndex: number = 0

      the offset to the first vertex to draw. Defaults to 0

    • firstInstance: number = 0

      the offset to the first instance to draw. Defaults to 0

    • baseVertex: number = 0

      the offset added to each index value before indexing into the vertex buffers. Defaults to 0

    Returns void

Generated using TypeDoc