syoyo / tinyusdz

Tiny, dependency-free USDZ/USDA/USDC library written in C++14

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[TODO] [Tydra] Support custom texture loader callback

syoyo opened this issue · comments

Currently, TinyUSDZ only supports loading texture asset with known fie format.

auto result = tinyusdz::image::LoadImageFromFile(resolvedPath);

But we'd like to allow texture loader callback interface to load texture with unknown format.

Oh Callback interface was already defined here:

/// User-defined Image asset loader

So we can use it in Tydra's TextureLoader(T.B.D.)