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

Method getTechniqueByIndex

core/renderer/Material.cpp:552–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552Technique* Material::getTechniqueByIndex(ssize_t index)
553{
554 AX_ASSERT(index >= 0 && index < _techniques.size() && "Invalid size");
555
556 return _techniques.at(index);
557}
558
559void Material::addTechnique(Technique* technique)
560{

Calls 2

sizeMethod · 0.45
atMethod · 0.45