LayoutLocation

lumin.utils. LayoutLocation

new LayoutLocation(value)

LayoutLocation maps a vertex attribute to a shader location

Parameters:
Name Type Description
value number

Members

(static, constant) kColor :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation0 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation1 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation2 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation3 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation4 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation5 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation6 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation7 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation8 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation9 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation10 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation11 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation12 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation13 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation14 :lumin.utils.LayoutLocation

Type:

(static, constant) kLocation15 :lumin.utils.LayoutLocation

Type:

(static, constant) kNormal :lumin.utils.LayoutLocation

Type:

(static, constant) kNotSupported :lumin.utils.LayoutLocation

Type:

(static, constant) kPalette :lumin.utils.LayoutLocation

Type:

(static, constant) kPosition :lumin.utils.LayoutLocation

Mesh streams

Type:

(static, constant) kUV :lumin.utils.LayoutLocation

Type:

(static, constant) kWeight :lumin.utils.LayoutLocation

Type:

value :number

Type:
  • number