-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Description
Lastest version (master)
Dumping objects ->
{55897} normal block at 0x0000010FFCBA4860, 24 bytes long.
Data: < > 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00
ktxTexture *tex;
ktxTexture_CreateFromMemory(
buffer, length, KTX_TEXTURE_CREATE_LOAD_IMAGE_DATA_BIT, &tex);
if (ktxTexture_NeedsTranscoding(tex)) {
result = ktxTexture2_TranscodeBasis(reinterpret_cast<ktxTexture2 *>(tex),
KTX_TTF_RGBA32, 0);
}
// ... loading to gpu
ktxTexture_Destroy(tex);https://drive.google.com/file/d/1Op0nDvdIfW6tJP5XVuSuHnZ3JvNenrza/view?usp=sharing
Image converted with toktx
--uastc 4 --uastc_rdo_l .5 --uastc_rdo_d 65536 --zcmp 22
--bcmp is ok, no leaks
Metadata
Metadata
Assignees
Labels
No labels