MCPcopy Create free account
hub / github.com/cginternals/globjects / setSamplerUniform

Method setSamplerUniform

source/examples/texture/ScreenAlignedQuad.cpp:144–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void ScreenAlignedQuad::setSamplerUniform(int index)
145{
146 m_samplerIndex = index;
147 m_program->setUniform("source", m_samplerIndex);
148}
149
150Program * ScreenAlignedQuad::program()
151{

Callers 1

initializeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected