ProblemktxTexture1_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.
Problem
ktxTexture1_SetImageFromMemory
andktxTexture2_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