SDL_image icon indicating copy to clipboard operation
SDL_image copied to clipboard

KTX support

Open trexxet opened this issue 11 months ago • 2 comments

Title says it. Would be nice to have KTX format support for texture loading.

trexxet avatar Jan 23 '25 12:01 trexxet

The design of the file format is specifically designed for easy import into OpenGL textures. We could add support for it, but you'd be bouncing through an intermediate format (SDL_Surface) which would negate that benefit, and you might as well use PNG or something else. Is there something I'm missing here?

slouken avatar Jan 23 '25 15:01 slouken

Say we didnt use SDL_Image to import KTX textures, what would we do instead, and how is that better then using SDL_Surface?

Ive actually found the opposite, with no real docs as to how to import KTX textures into usage with something like sdl.CreateGPUTexture

WolfEYc avatar Apr 20 '25 14:04 WolfEYc