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

Function expandBufferAndGetPointer

core/2d/DrawNode.cpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static V2F_C4B_T2F* expandBufferAndGetPointer(axstd::pod_vector<V2F_C4B_T2F>& buffer, size_t count)
76{
77 size_t oldSize = buffer.size();
78 buffer.expand(count);
79 return buffer.data() + oldSize;
80}
81
82DrawNode::DrawNode()
83{

Callers 9

_drawPolygonMethod · 0.85
_drawPolyMethod · 0.85
_drawSegmentMethod · 0.85
_drawLineMethod · 0.85
_drawDotMethod · 0.85
_drawColoredTriangleMethod · 0.85
_drawTriangleMethod · 0.85
_drawPointsMethod · 0.85
_drawPointMethod · 0.85

Calls 3

sizeMethod · 0.45
expandMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected