You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GLid should be able to be constructed with GLuints that it did not create. This way, people can use arbitrary means to create, for example, texture objects, then pass them along to the GLDR texture class.
Similarly, GLid should be able to release its current object. This allows the user to abandon the current object. This would be useful if the user allowed the C++ object to outlive the OpenGL context, or more likely, to just be able to transfer ownership to themselves, allowing the resource to outlive the C++ object.
The text was updated successfully, but these errors were encountered:
GLid should be able to be constructed with
GLuint
s that it did not create. This way, people can use arbitrary means to create, for example, texture objects, then pass them along to the GLDR texture class.Similarly, GLid should be able to release its current object. This allows the user to abandon the current object. This would be useful if the user allowed the C++ object to outlive the OpenGL context, or more likely, to just be able to transfer ownership to themselves, allowing the resource to outlive the C++ object.
The text was updated successfully, but these errors were encountered: