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

Method declareFloat4

src/OpenColorIO/GpuShaderUtils.cpp:809–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807}
808
809void GpuShaderText::declareFloat4(const std::string & name,
810 const float x,
811 const float y,
812 const float z,
813 const float w)
814{
815 declareFloat4(name, getFloatString(x, m_lang),
816 getFloatString(y, m_lang),
817 getFloatString(z, m_lang),
818 getFloatString(w, m_lang));
819}
820
821void GpuShaderText::declareFloat4(const std::string & name,
822 const double x,

Callers 10

AddBasicFwdShaderFunction · 0.80
AddBasicRevShaderFunction · 0.80
AddBasicMirrorFwdShaderFunction · 0.80
AddBasicMirrorRevShaderFunction · 0.80
AddMoncurveFwdShaderFunction · 0.80
AddMoncurveRevShaderFunction · 0.80

Calls 1

getFloatStringFunction · 0.85

Tested by

no test coverage detected