(framebuffer)
| 3717 | } |
| 3718 | |
| 3719 | _getWebGPUDepthFormat(framebuffer) { |
| 3720 | if (framebuffer._useCanvasFormat) { |
| 3721 | return this.depthFormat; |
| 3722 | } |
| 3723 | if (framebuffer.useStencil) { |
| 3724 | return framebuffer.depthFormat === constants.FLOAT ? 'depth32float-stencil8' : 'depth24plus-stencil8'; |
| 3725 | } else { |
| 3726 | return framebuffer.depthFormat === constants.FLOAT ? 'depth32float' : 'depth24plus'; |
| 3727 | } |
| 3728 | } |
| 3729 | |
| 3730 | _deleteFramebufferTexture(texture) { |
| 3731 | this.flushDraw(); |
no outgoing calls
no test coverage detected