API

Function PushAttributesForInstances

  • Add the list of attributes required for instances to the attribs array.

    Parameters

    • attribs: string[]

      The current list of supported attribs

    • needsPreviousMatrices: boolean = false

      If the shader needs previous matrices

    Returns void