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

Function GetFileTransform

tests/gpu/Lut3DOp_test.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace
29{
30OCIO::FileTransformRcPtr GetFileTransform(const std::string & filename)
31{
32 const std::string filepath(ocioTestFilesDir + std::string("/") + filename);
33
34 OCIO::FileTransformRcPtr file = OCIO::FileTransform::Create();
35 file->setSrc(filepath.c_str());
36
37 return file;
38}
39}
40
41OCIO_ADD_GPU_TEST(Lut3DOp, red_only_using_CSP_file_legacy_shader)

Callers 2

OCIO_ADD_GPU_TESTFunction · 0.70
Lut3DOp_test.cppFile · 0.70

Calls 1

setSrcMethod · 0.45

Tested by

no test coverage detected