-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webgl内存释放的问题 #104
Comments
这一块可以删除掉,是原有老版demo的内存释放逻辑,之后这一块我有时间会进行优化,具体根据根据自己的需求保留 |
@VirtualStarry 你好,我试用了他的这个项目,在人体关键点实时检测过程中,发现相机旋转一下,比如旋转180度后,就识别不出来了,是和createVKSession中的参数plane有关系么?如果是和这个有关系,那应该怎么解决呢? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不太理解https://github.com/wechat-miniprogram/miniprogram-demo/blob/master/miniprogram/packageAPI/pages/ar/plane-ar-v2/behavior.js里面的页面卸载逻辑,里面有很多内置对象如_texture、_tempTexture,在代码里没有出现过,为什么要做判断和释放的处理。我在项目里遇到内存无法释放的问题,但是无法找到类似_texture、_tempTexture这样的变量,不知道是在哪生成的
The text was updated successfully, but these errors were encountered: