* Sets the shader uniforms. * * @deprecated Use setShaderData instead. * @param {Map } uniforms - A collection of uniforms. * @return {EffectMaterial} This material.
(uniforms)
| 226 | */ |
| 227 | |
| 228 | setUniforms(uniforms) { |
| 229 | |
| 230 | for(const entry of uniforms.entries()) { |
| 231 | |
| 232 | this.uniforms[entry[0]] = entry[1]; |
| 233 | |
| 234 | } |
| 235 | |
| 236 | return this; |
| 237 | |
| 238 | } |
| 239 | |
| 240 | /** |
| 241 | * Sets the required shader extensions. |
no outgoing calls
no test coverage detected