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

Method declareFloat3

src/OpenColorIO/GpuShaderUtils.cpp:725–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725void GpuShaderText::declareFloat3(const std::string & name, float x, float y, float z)
726{
727 declareFloat3(name, getFloatString(x, m_lang),
728 getFloatString(y, m_lang),
729 getFloatString(z, m_lang));
730}
731
732void GpuShaderText::declareFloat3(const std::string& name, const Float3 & vec3)
733{

Callers 15

GetCDLGPUShaderProgramFunction · 0.80
AddGPLogPropertiesFunction · 0.80
AddGPLogForwardShaderFunction · 0.80
AddGPLogInverseShaderFunction · 0.80
AddGPLinPropertiesFunction · 0.80
AddGPLinForwardShaderFunction · 0.80
AddGPLinInverseShaderFunction · 0.80
AddGPVideoPropertiesFunction · 0.80
AddGPVideoForwardShaderFunction · 0.80
AddGPVideoInverseShaderFunction · 0.80
AddLogToLinShaderFunction · 0.80
AddLinToLogShaderFunction · 0.80

Calls 1

getFloatStringFunction · 0.85

Tested by

no test coverage detected