MaterialX: make caching image in MaterialX independent from bf_usd project #31

Merged
Bogdan Nagirniak merged 4 commits from matx-cache-texture_2 into matx-export-material 2023-09-22 18:12:52 +02:00
Showing only changes of commit 37bb54fc61 - Show all commits

View File

@ -17,10 +17,8 @@ namespace blender::nodes::materialx {
extern struct CLG_LogRef *LOG_MATERIALX_SHADER;
class GroupNodeParser;
typedef std::string (*ExportImageFunction)(Main *bmain,
Scene *Scene,
Image *image,
ImageUser *iuser);
DagerD marked this conversation as resolved Outdated

Use std::function and using

Use `std::function` and `using`
using ExportImageFunction = std::function<std::string(Main *,Scene *, Image *, ImageUser *)>;
class NodeParser {
protected: