* @chainable * @private
(options)
| 864 | * @private |
| 865 | */ |
| 866 | useProgram(options) { |
| 867 | if (this._renderer._curShader !== this) { |
| 868 | this._renderer._useShader(this); |
| 869 | this._renderer._curShader = this; |
| 870 | } |
| 871 | return this; |
| 872 | } |
| 873 | |
| 874 | /** |
| 875 | * Sets the shader’s uniform (global) variables. |
no test coverage detected