* @memberof ktxTexture1 * @~English * @brief Destroy a ktxTexture1 object. * * This frees the memory associated with the texture contents and the memory * of the ktxTexture1 object. This does @e not delete any OpenGL or Vulkan * texture objects created by ktxTexture1_GLUpload or ktxTexture1_VkUpload. * * @param[in] This pointer to the ktxTexture1 object to destroy */
| 849 | * @param[in] This pointer to the ktxTexture1 object to destroy |
| 850 | */ |
| 851 | void |
| 852 | ktxTexture1_Destroy(ktxTexture1* This) |
| 853 | { |
| 854 | ktxTexture1_destruct(This); |
| 855 | free(This); |
| 856 | } |
| 857 | |
| 858 | /** |
| 859 | * @memberof ktxTexture @private |