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

Method getMutableVertexLayout

core/renderer/backend/ProgramState.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322VertexLayout* ProgramState::getMutableVertexLayout()
323{
324 if (_ownVertexLayout || !_vertexLayout->isValid())
325 return _vertexLayout;
326
327 _ownVertexLayout = true;
328 return _vertexLayout = new VertexLayout();
329}
330
331void ProgramState::setSharedVertexLayout(VertexLayout* vertexLayout)
332{

Callers 11

initPipelineDescriptorFunction · 0.80
setProgramStateMethod · 0.80
initWithSizeMethod · 0.80
initMethod · 0.80
NavMeshDebugDrawMethod · 0.80
initMethod · 0.80
RenderImmidiateMethod · 0.80
initWithVertexMethod · 0.80
SetupShaderProgramMethod · 0.80
updateProgramStateLayoutFunction · 0.80

Calls 1

isValidMethod · 0.45

Tested by 2

initMethod · 0.64
initWithVertexMethod · 0.64