InstancingAttributeInfo

Interface for attribute information associated with buffer instanciation

Hierarchy

  • InstancingAttributeInfo

Index

Properties

attributeName

Find examples in Playground
attributeName: string

Name of the GLSL attribute, for debugging purpose only

attributeSize

Find examples in Playground
attributeSize: number

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

attribyteType

Find examples in Playground
attribyteType: number

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

index

Find examples in Playground
index: number

Index/offset of the attribute in the vertex shader

normalized

Find examples in Playground
normalized: boolean

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

offset

Find examples in Playground
offset: number

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

Generated using TypeDoc