InstancingAttributeInfo

Interface for attribute information associated with buffer instanciation

Hierarchy

  • InstancingAttributeInfo

Index

Properties

attributeName

attributeName: string

Name of the GLSL attribute, for debugging purpose only

attributeSize

attributeSize: number

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

attribyteType

attribyteType: number

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

index

index: number

Index/offset of the attribute in the vertex shader

normalized

normalized: boolean

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

offset

offset: number

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

Generated using TypeDoc