(this: PostProcessLayer)
| 166 | } |
| 167 | |
| 168 | disableRTT(this: PostProcessLayer) { |
| 169 | // End render pass, and reinstate original |
| 170 | this.internalState.internalRenderPass.end(); |
| 171 | this.context.renderPass = this.internalState.originalRenderPass; |
| 172 | } |
| 173 | |
| 174 | applyPostProcess(this: PostProcessLayer) { |
| 175 | if (!this.internalState.renderInProgress) { |