Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AttributeConfig

Index

Properties

buffer?: null | false | Buffer

A REGLBuffer wrapping the buffer object. (Default: null)

divisor?: number

Sets gl.vertexAttribDivisorANGLE. Only supported if the ANGLE_instanced_arrays extension is available. (Default: 0)

normalized?: boolean

Whether the pointer is normalized. (Default: false)

offset?: number

The offset of the vertexAttribPointer in bytes. (Default: 0)

size?: number

The size of the vertex attribute. (Default: Inferred from shader)

stride?: number

The stride of the vertexAttribPointer in bytes. (Default: 0)

type?: "float" | "int8" | "int16" | "int32" | "uint8" | "uint16" | "uint32"

Data type for attribute

Generated using TypeDoc