Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InteractiveComputerGraphics/SPlisHSPlasH
/ addUniform
Method
addUniform
GUI/OpenGL/Shader.cpp:118–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
116
}
117
118
void Shader::addUniform(const std::string &uniform)
119
{
120
m_uniforms[uniform] = glGetUniformLocation(m_program, uniform.c_str());
121
}
122
123
GLuint Shader::getUniform(const std::string &uniform)
124
{
Callers
5
initShaders
Method · 0.80
initShader
Method · 0.80
initShader
Method · 0.80
initShaders
Method · 0.80
initShaders
Method · 0.80
Calls
1
c_str
Method · 0.45
Tested by
no test coverage detected