UniformBuffer

lumin. UniformBuffer

new UniformBuffer()

Methods

set(index, value)

Parameters:
Name Type Description
index number
value mat4

set(index, value)

Parameters:
Name Type Description
index number
value vec2

set(index, value)

Parameters:
Name Type Description
index number
value number

set(index, value)

Parameters:
Name Type Description
index number
value number

set(index, value)

Parameters:
Name Type Description
index number
value vec3

set(index, value)

Parameters:
Name Type Description
index number
value boolean

set(index, value)

Parameters:
Name Type Description
index number
value vec4

set(index, value)

Parameters:
Name Type Description
index number
value quat

set(index, value)

Parameters:
Name Type Description
index number
value number

set(index, value)

Parameters:
Name Type Description
index number
value number