MCPcopy Create free account
hub / github.com/ImageEngine/cortex / constant

Method constant

src/IECoreGL/Shader.cpp:1122–1126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1120///////////////////////////////////////////////////////////////////////////////
1121
1122Shader *Shader::constant()
1123{
1124 static ShaderPtr s = new Shader( "", constantFragmentSource() );
1125 return s.get();
1126}
1127
1128Shader *Shader::facingRatio()
1129{

Callers 2

testEvaluatorMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 1

testEvaluatorMethod · 0.64