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

Method float2Const

src/OpenColorIO/GpuShaderUtils.cpp:655–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655std::string GpuShaderText::float2Const(const std::string& x, const std::string& y) const
656{
657 std::ostringstream kw;
658 kw << float2Keyword() << "(" << x << ", " << y << ")";
659 return kw.str();
660}
661
662std::string GpuShaderText::float2Decl(const std::string & name) const
663{

Callers 2

_Add_Reach_tableFunction · 0.80
_Add_Cusp_tableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected