MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / addAttribute

Method addAttribute

GUI/OpenGL/Shader.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void Shader::addAttribute(const std::string &attribute)
109{
110 m_attributes[attribute]= glGetAttribLocation(m_program, attribute.c_str());
111}
112
113GLuint Shader::getAttribute(const std::string &attribute)
114{

Callers 5

writeParticlesMethod · 0.45
writeBoundaryStateMethod · 0.45
writeParticlesPartioMethod · 0.45
addAttributesToSPHNodeFunction · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected