* @desc Get the fragment shader String. * If the String hasn't been compiled yet, * then this method compiles it as well * * @param {Array} args - The actual parameters sent to the Kernel * @returns {string} Fragment Shader string
(args)
| 1476 | * @returns {string} Fragment Shader string |
| 1477 | */ |
| 1478 | getFragmentShader(args) { |
| 1479 | if (this.compiledFragmentShader !== null) { |
| 1480 | return this.compiledFragmentShader; |
| 1481 | } |
| 1482 | return this.compiledFragmentShader = this.replaceArtifacts(this.constructor.fragmentShader, this._getFragShaderArtifactMap(args)); |
| 1483 | } |
| 1484 | |
| 1485 | /** |
| 1486 | * @desc Get the vertical shader String |
no test coverage detected