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

Method updateQuad

core/renderer/TextureAtlas.cpp:209–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207// TextureAtlas - Update, Insert, Move & Remove
208
209void TextureAtlas::updateQuad(const V3F_C4B_T2F_Quad& quad, ssize_t index)
210{
211 AXASSERT(index >= 0 && index < _capacity, "updateQuadWithTexture: Invalid index");
212
213 _totalQuads = MAX(index + 1, _totalQuads);
214
215 _quads[index] = quad;
216
217 _dirty = true;
218}
219
220void TextureAtlas::insertQuad(const V3F_C4B_T2F_Quad& quad, ssize_t index)
221{

Callers 8

updateTransformMethod · 0.80
updateColorMethod · 0.80
updateColorMethod · 0.80
updateColorMethod · 0.80
updateTransformMethod · 0.80
updateColorMethod · 0.80
updateColorMethod · 0.80
updateTransformMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected