Options
All
  • Public
  • Public/Protected
  • All
Menu

Attribute binding. The properties here are basically just passed in as arguments to a gl.vertixAttribPointer call.

Hierarchy

  • IAttributeBinding

Index

Properties

Optional drawMode

drawMode: number

If specified then this attributes length is to make a default draw call using this drawMode

name

name: string

Name of the attribute

Optional normalized

normalized: boolean

Indicates whether integer data valiues should be normalized

Optional offset

offset: number

Offset to first value

Optional size

size: number

vector size of the attribute. Default: 2

Optional stride

stride: number

Stride for attribute packing

Optional valueType

valueType: number

type of the values. Default: gl.FLOAT