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

Method declareVarConst

src/OpenColorIO/GpuShaderUtils.cpp:437–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437void GpuShaderText::declareVarConst(const std::string & name, float v)
438{
439 newLine() << constKeyword() << declareVarStr(name, v) << ";";
440}
441
442void GpuShaderText::declareVar(const std::string & name, float v)
443{

Callers 4

AddGPLogPropertiesFunction · 0.80
AddGPLinPropertiesFunction · 0.80
AddGPVideoPropertiesFunction · 0.80
AddGTPropertiesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected