()
| 682 | return this.context.RGBA; |
| 683 | } |
| 684 | getTextureFormat() { |
| 685 | const { context: gl } = this; |
| 686 | switch (this.getInternalFormat()) { |
| 687 | case gl.RGBA: |
| 688 | return gl.RGBA; |
| 689 | default: |
| 690 | throw new Error('Unknown internal format'); |
| 691 | } |
| 692 | } |
| 693 | |
| 694 | /** |
| 695 | * |
no test coverage detected