()
| 430 | } |
| 431 | |
| 432 | getGLOutput(): WebGLTexture { |
| 433 | const { framebuffer } = this; |
| 434 | invariant( |
| 435 | framebuffer, |
| 436 | "Node#getGLOutput: framebuffer is not defined. It cannot be called on a root Node" |
| 437 | ); |
| 438 | return framebuffer!.color; |
| 439 | } |
| 440 | |
| 441 | getGLBackbufferOutput(): WebGLTexture { |
| 442 | const { backbuffer } = this; |