• Public
  • Public/Protected
  • All

Interface InstancingAttributeInfo

Interface for attribute information associated with buffer instantiation


  • InstancingAttributeInfo



attributeNameSearch playground for attributeName

attributeName: string

Name of the GLSL attribute if attribute index is not specified, this is used to retrieve the index from the effect

attributeSizeSearch playground for attributeSize

attributeSize: number

size of the attribute, 1, 2, 3 or 4

Optional attributeTypeSearch playground for attributeType

attributeType: number

type of the attribute, gl.BYTE, gl.UNSIGNED_BYTE, gl.SHORT, gl.UNSIGNED_SHORT, gl.FIXED, gl.FLOAT. default is FLOAT

Optional divisorSearch playground for divisor

divisor: number

Modifies the rate at which generic vertex attributes advance when rendering multiple instances default to 1

Optional indexSearch playground for index

index: number

Index/offset of the attribute in the vertex shader if not specified, this will be computes from the name.

Optional normalizedSearch playground for normalized

normalized: boolean

normalization of fixed-point data. behavior unclear, use FALSE, default is FALSE

offsetSearch playground for offset

offset: number

Offset of the data in the Vertex Buffer acting as the instancing buffer


  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method