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

Method intDecl

src/OpenColorIO/GpuShaderUtils.cpp:417–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417std::string GpuShaderText::intDecl(const std::string & name) const
418{
419 if (name.empty())
420 {
421 throw Exception("GPU variable name is empty.");
422 }
423
424 return intKeyword() + " " + name;
425}
426
427std::string GpuShaderText::colorDecl(const std::string & name) const
428{

Callers 1

_Add_Cusp_tableFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected