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

Method bindAttributesEnd

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

Source from the content-addressed store, hash-verified

5500 }
5501
5502 void ProgramGL::bindAttributesEnd()
5503 {
5504 for (uint32_t ii = 0, iiEnd = m_usedCount; ii < iiEnd; ++ii)
5505 {
5506 if (Attrib::Count != m_unboundUsedAttrib[ii])
5507 {
5508 Attrib::Enum attr = Attrib::Enum(m_unboundUsedAttrib[ii]);
5509 GLint loc = m_attributes[attr];
5510 lazyDisableVertexAttribArray(loc);
5511 }
5512 }
5513
5514 applyLazyEnabledVertexAttributes();
5515 }
5516
5517 void ProgramGL::unbindAttributes()
5518 {

Callers 3

blitRenderMethod · 0.80
clearQuadMethod · 0.80
submitMethod · 0.80

Calls 3

EnumEnum · 0.70

Tested by

no test coverage detected