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

Function ktxTexture2_LoadDeflatedImageData

lib/texture2.c:2735–2740  ·  view source on GitHub ↗

* @memberof ktxTexture2 * @~English * @brief Load all the image data from the ktxTexture2's source without inflatiion.. * * The data will be not be inflated if supercompressionScheme == @c KTX_SS_ZSTD or * @c KTX_SS_ZLIB. This function is provided to support some rare testing scenarios. * Generally use of ktxTexture2\_LoadImageData is highly recommended. For supercompressionScheme * values

Source from the content-addressed store, hash-verified

2733 * @exception KTX_OUT_OF_MEMORY Insufficient memory for the image data.
2734 */
2735ktx_error_code_e
2736ktxTexture2_LoadDeflatedImageData(ktxTexture2* This,
2737 ktx_uint8_t* pBuffer, ktx_size_t bufSize)
2738{
2739 return ktxTexture2_loadImageDataInt(This, pBuffer, bufSize, LOADDATA_DONT_INFLATE_ON_LOAD);
2740}
2741
2742/**
2743 * @memberof ktxTexture2 @private

Callers 1

patchWithLibKtxMethod · 0.85

Calls 1

Tested by

no test coverage detected