webgl context 复用 #720
Closed
BUPTlhuanyu
started this conversation in
Ideas
Replies: 1 comment 12 replies
-
不可以哦,一条渲染管线的建立到结束是和 context 直接绑定的 |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/galacean/effects-runtime/blob/6734dcb03250caf597f246d442fad2a7378788c0/packages/effects-webgl/src/gl-renderer.ts#L47C24-L47C40
由于浏览器对 webgl 数量有限制,这里是否可以加上 webgl 缓存池用于 webgl 的复用?
Beta Was this translation helpful? Give feedback.
All reactions