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

Method use

source/globjects/source/ProgramPipeline.cpp:43–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void ProgramPipeline::use() const
44{
45 if (m_dirty)
46 {
47 for (const Program * program : m_programs)
48 {
49 program->link();
50 }
51
52 const_cast<ProgramPipeline *>(this)->m_dirty = false;
53
54 checkUseStatus();
55 }
56
57 gl::glUseProgram(0);
58 gl::glBindProgramPipeline(id());
59}
60
61void ProgramPipeline::release()
62{

Callers

nothing calls this directly

Calls 1

linkMethod · 0.80

Tested by

no test coverage detected