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

Method infoLog

source/globjects/source/Program.cpp:505–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505std::string Program::infoLog() const
506{
507 GLint length = get(GL_INFO_LOG_LENGTH);
508
509 if (length == 0)
510 return std::string();
511
512 std::vector<char> log(length);
513
514 glGetProgramInfoLog(id(), length, &length, log.data());
515
516 return std::string(log.data(), length);
517}
518
519void Program::dispatchCompute(const glm::uvec3 & numGroups)
520{

Callers

nothing calls this directly

Calls 2

getFunction · 0.85
dataMethod · 0.80

Tested by

no test coverage detected