Open atteneder opened 3 years ago
KtxUnity uploads textures to the GPU via Texture2D.LoadRawTextureData, which works on all platforms.
Texture2D.LoadRawTextureData
The underlying libktx also offers functions ktxTexture_GLUpload and ktxTexture_VkUploadEx to upload directly.
libktx
ktxTexture_GLUpload
ktxTexture_VkUploadEx
While this is more effort to implement and maintain, it has some potential upsides:
KtxUnity uploads textures to the GPU via
Texture2D.LoadRawTextureData
, which works on all platforms.The underlying
libktx
also offers functionsktxTexture_GLUpload
andktxTexture_VkUploadEx
to upload directly.While this is more effort to implement and maintain, it has some potential upsides: