Function setVertex

  • Binds a vertex buffer to a slot in the current render pass.

    Parameters

    • device: Device

      the GPU device

    • slot: number

      the vertex slot to bind to

    • buffer: Buffer

      the buffer to bind

    • offset: number = 0

    Returns void

Generated using TypeDoc