* @memberof ktxTexture @private * @~English * @brief Return the number of bytes needed to store all the image data for * a ktxTexture. * * The caclulated size does not include space for storing the @c imageSize * fields of each mip level. * * @param[in] This pointer to the ktxTexture object of interest. * @param[in] fv enum specifying format version for which to calcula
| 778 | * @return the data size in bytes. |
| 779 | */ |
| 780 | ktx_size_t |
| 781 | ktxTexture_calcDataSizeTexture(ktxTexture* This) |
| 782 | { |
| 783 | assert (This != NULL); |
| 784 | return ktxTexture_calcDataSizeLevels(This, This->numLevels); |
| 785 | } |
| 786 | |
| 787 | /** |
| 788 | * @memberof ktxTexture @private |
no test coverage detected