atteneder / KtxUnity

Load KTX and Basis Universal textures at runtime
Apache License 2.0
215 stars 42 forks source link

Use native GPU upload for OpenGL and Vulkan #40

Open atteneder opened 3 years ago

atteneder commented 3 years ago

KtxUnity uploads textures to the GPU via Texture2D.LoadRawTextureData, which works on all platforms.

The underlying libktx also offers functions ktxTexture_GLUpload and ktxTexture_VkUploadEx to upload directly.

While this is more effort to implement and maintain, it has some potential upsides: