MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / GetFileTransform

Function GetFileTransform

tests/gpu/Lut1DOp_test.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace
31{
32OCIO::FileTransformRcPtr GetFileTransform(const std::string & filename)
33{
34 const std::string filepath(ocioTestFilesDir + std::string("/") + filename);
35
36 OCIO::FileTransformRcPtr file = OCIO::FileTransform::Create();
37 file->setSrc(filepath.c_str());
38
39 return file;
40}
41}
42
43// The LUTs below are identities unless otherwise noted.

Callers 1

OCIO_ADD_GPU_TESTFunction · 0.70

Calls 1

setSrcMethod · 0.45

Tested by

no test coverage detected