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

Function AllocationToString

src/OpenColorIO/ParseUtils.cpp:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218const char * AllocationToString(Allocation alloc)
219{
220 if(alloc == ALLOCATION_UNIFORM) return "uniform";
221 else if(alloc == ALLOCATION_LG2) return "lg2";
222 return "unknown";
223}
224
225Allocation AllocationFromString(const char * s)
226{

Callers 6

saveFunction · 0.85
ColorSpace.cppFile · 0.85
getCacheIDMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected