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

Method float4Const

src/OpenColorIO/GpuShaderUtils.cpp:758–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756}
757
758std::string GpuShaderText::float4Const(const float x, const float y, const float z, const float w) const
759{
760 return float4Const(getFloatString(x, m_lang),
761 getFloatString(y, m_lang),
762 getFloatString(z, m_lang),
763 getFloatString(w, m_lang));
764}
765
766std::string GpuShaderText::float4Const(const double x, const double y, const double z, const double w) const
767{

Callers 11

Add_hue_weight_shaderFunction · 0.80
AddBasicFwdShaderFunction · 0.80
AddBasicRevShaderFunction · 0.80
AddMoncurveFwdShaderFunction · 0.80
AddMoncurveRevShaderFunction · 0.80
extractGpuShaderInfoMethod · 0.80

Calls 1

getFloatStringFunction · 0.85

Tested by

no test coverage detected