MCPcopy Create free account
hub / github.com/crownengine/crown / unbindAttributes

Method unbindAttributes

3rdparty/bgfx/src/renderer_gl.cpp:5517–5528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5515 }
5516
5517 void ProgramGL::unbindAttributes()
5518 {
5519 for(uint32_t ii = 0, iiEnd = m_usedCount; ii < iiEnd; ++ii)
5520 {
5521 if (Attrib::Count == m_unboundUsedAttrib[ii])
5522 {
5523 Attrib::Enum attr = Attrib::Enum(m_used[ii]);
5524 GLint loc = m_attributes[attr];
5525 lazyDisableVertexAttribArray(loc);
5526 }
5527 }
5528 }
5529
5530 void ProgramGL::unbindInstanceData() const
5531 {

Callers 1

submitMethod · 0.80

Calls 2

EnumEnum · 0.70

Tested by

no test coverage detected