cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
539 stars 59 forks source link

Emphasize object construction and management in README.md #330

Open scheibel opened 7 years ago

scheibel commented 7 years ago

There are confusions about memory management in globjects. We should extend the README.md to reflect on the different use-cases and abstraction mechanisms globjects provides and relies on, namely: reference counting, ref_ptr, clear examples, comments on auto-resolution, ...

cgcostume commented 6 years ago

is this still required?

scheibel commented 6 years ago

Required: yes However, we don't use ref_ptr anymore so the Readme should be extended using unique_ptr, shared_ptr, weak_ptr, make_unique, and ::create patterns.