Skip to content
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

"cleanGLObjectsUponModifyOrDelete" field for X3DTextureNode #609

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gregphilbrick
Copy link

Now X3DTextureNode has a field called "cleanGLObjectsUponModifyOrDelete," which is set to "false" by default. If this field is set to "true," then in the event that the node has its "url" field changed or the node gets deleted, then the relevant OpenGL texture cleans itself up via gl.deleteTexture(). The intent is for an ImageTexture node to be able to cycle through various textures without keeping no-longer-visible textures in video memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant