(newOptions)
| 885 | } |
| 886 | |
| 887 | _shaderOptionsDifferent(newOptions) { |
| 888 | if (!this.activeShaderOptions) return true; |
| 889 | for (const key in this.activeShaderOptions) { |
| 890 | if (this.activeShaderOptions[key] !== newOptions[key]) return true; |
| 891 | } |
| 892 | return false; |
| 893 | } |
| 894 | |
| 895 | _initShader(shader) { |
| 896 | const device = this.device; |
no outgoing calls
no test coverage detected