MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / ktxTexture1_Destroy

Function ktxTexture1_Destroy

lib/texture1.c:851–856  ·  view source on GitHub ↗

* @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 */

Source from the content-addressed store, hash-verified

849 * @param[in] This pointer to the ktxTexture1 object to destroy
850 */
851void
852ktxTexture1_Destroy(ktxTexture1* This)
853{
854 ktxTexture1_destruct(This);
855 free(This);
856}
857
858/**
859 * @memberof ktxTexture @private

Callers 2

runTestMethod · 0.85
TEST_FFunction · 0.85

Calls 1

ktxTexture1_destructFunction · 0.85

Tested by 2

runTestMethod · 0.68
TEST_FFunction · 0.68