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

Method setVertexLayout

core/2d/SpriteBatchNode.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void SpriteBatchNode::setVertexLayout()
126{
127 AXASSERT(_programState, "programState should not be nullptr");
128 _programState->validateSharedVertexLayout(backend::VertexLayoutType::Sprite);
129}
130
131bool SpriteBatchNode::setProgramState(backend::ProgramState* programState, bool ownPS/* = false*/)
132{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected