FileTransform currently loads the LUT from a file no matter what.
https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/main/src/OpenColorIO/transforms/FileTransform.cpp#L549
This may be useful for applications to wrap LUTs in memory files along with other data.
However, this requires currently a copy of the memory blog to a temporary file so that OCIO can read it. Making a "proxy" API such as what OpenImageIO does would enable such use case.
FileTransform currently loads the LUT from a file no matter what.
https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/main/src/OpenColorIO/transforms/FileTransform.cpp#L549
This may be useful for applications to wrap LUTs in memory files along with other data.
However, this requires currently a copy of the memory blog to a temporary file so that OCIO can read it. Making a "proxy" API such as what OpenImageIO does would enable such use case.