Uniforms()

new Uniforms()

Class that handles the creation of new Uniforms in Points.

Source:
Uniforms.js, line 4
Example
points.uniforms.myUniform = 10

// wgsl side
let val = params.myUniform; // value is 10.0 f32
js side

Members

staticlist

List of all Uniforms

Source:
Uniforms.js, line 83

Methods

staticadd(uniform)

Add a new Uniform

Parameters:
Name Type Description
uniform Uniform
Source:
Uniforms.js, line 102

staticfind(name)Uniform

Retrieves a Uniform by its name.

Parameters:
Name Type Description
name String
Source:
Uniforms.js, line 93
Returns:
Type:
Uniform

MIT

Documentation generated by JSDoc 4.0.5 using Docolatte theme on