()
| 558 | } |
| 559 | |
| 560 | _getCanvasColorTextureView() { |
| 561 | const canvasTexture = this.drawingContext.getCurrentTexture(); |
| 562 | // If texture changed (new frame), update cache |
| 563 | if (this.currentCanvasColorTexture !== canvasTexture) { |
| 564 | this.currentCanvasColorTexture = canvasTexture; |
| 565 | this.currentCanvasColorTextureView = canvasTexture.createView(); |
| 566 | } |
| 567 | return this.currentCanvasColorTextureView; |
| 568 | } |
| 569 | |
| 570 | _beginActiveRenderPass() { |
| 571 | if (this.activeRenderPass) return; |
no outgoing calls
no test coverage detected