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

Method float4Decl

src/OpenColorIO/GpuShaderUtils.cpp:799–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797}
798
799std::string GpuShaderText::float4Decl(const std::string & name) const
800{
801 if (name.empty())
802 {
803 throw Exception("GPU variable name is empty.");
804 }
805
806 return float4Keyword() + " " + name;
807}
808
809void GpuShaderText::declareFloat4(const std::string & name,
810 const float x,

Callers 14

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

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected