Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clarify pointer lifetimes for ktxTexture_SetImageFromMemory (#917)
**Problem** `ktxTexture1_SetImageFromMemory` and `ktxTexture2_SetImageFromMemory` accept a pointer to image memory but do not clearly document if ownership of those pointers is transferred or copied. **Solution** This commit adds a Doxygen note informing users that the underlying image data is copied and that they are responsible for freeing the original copy of image memory. **Testing** Documentation updates were manually verified by building the project using the `KTX_FEATURE_DOC=ON` CMake option and viewing the generated Doxygen output using a local server. Closes #914
- Loading branch information