MCPcopy Create free account
hub / github.com/axmolengine/axmol / validateSharedVertexLayout

Method validateSharedVertexLayout

core/renderer/backend/ProgramState.cpp:307–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306#endif
307void ProgramState::validateSharedVertexLayout(VertexLayoutType vlt)
308{
309 if (!_ownVertexLayout && !_vertexLayout->isValid())
310 _program->setupVertexLayout(vlt);
311}
312
313void ProgramState::ensureVertexLayoutMutable()
314{

Callers 5

setVertexLayoutMethod · 0.80
setVertexLayoutMethod · 0.80
setVertexLayoutMethod · 0.80
setVertexLayoutMethod · 0.80

Calls 2

setupVertexLayoutMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected