Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
144
void ScreenAlignedQuad::setSamplerUniform(int index)
145
{
146
m_samplerIndex = index;
147
m_program->setUniform(
"source"
, m_samplerIndex);
148
}
149
150
Program * ScreenAlignedQuad::program()
151
{
Callers
1
initialize
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected