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

Function ktxTexture_GetDataSize

lib/texture.c:475–480  ·  view source on GitHub ↗

* @memberof ktxTexture * @~English * @brief Return the total size of the texture image data in bytes. * * For a ktxTexture2 with supercompressionScheme != KTX_SS_NONE this will * return the deflated size of the data. * * @param[in] This pointer to the ktxTexture object of interest. */

Source from the content-addressed store, hash-verified

473 * @param[in] This pointer to the ktxTexture object of interest.
474 */
475ktx_size_t
476ktxTexture_GetDataSize(ktxTexture* This)
477{
478 assert(This != NULL);
479 return This->dataSize;
480}
481
482/**
483 * @memberof ktxTexture

Callers 4

getDataSizeMethod · 0.85
TEST_FFunction · 0.85

Calls 1

assertFunction · 0.85

Tested by 1

TEST_FFunction · 0.68