MCPcopy Create free account
hub / github.com/Tencent/tgfx / sourceIndex

Method sourceIndex

src/layers/DisplayList.cpp:52–54  ·  view source on GitHub ↗

* Returns the index of the atlas in the surface caches. */

Source from the content-addressed store, hash-verified

50 * Returns the index of the atlas in the surface caches.
51 */
52 size_t sourceIndex() const {
53 return tiles.front()->sourceIndex;
54 }
55
56 /**
57 * Returns the source rectangle of the tile in the atlas.

Callers 2

drawTileTaskMethod · 0.80
drawScreenTasksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected