rfw2d
    Preparing search index...

    Function setVertexAttributes

    • Set vertex attributes for the currently bound buffer.

      Parameters

      • gl: WebGL2RenderingContext

        GL

      • attributes: VertexAttribute[]

        Vertex attributes in order

      • Optionaloptions: { divisor?: number; index?: number; offset?: number; stride?: number }

        Options to apply to all attributes

        • Optionaldivisor?: number

          Divisor to apply to all attributes. Individually set divisor will override this!

        • Optionalindex?: number

          Index to start counting attributes from. Individually set index will override this!

        • Optionaloffset?: number

          Offset to start from. Individually set offset will override this!

        • Optionalstride?: number

          Stride to apply to all attributes. Individually set stride will override this!

      Returns void