MCPcopy Create free account
hub / github.com/defold/defold / TextLayoutAcquire

Function TextLayoutAcquire

engine/font/src/text_layout.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void TextLayoutAcquire(HTextLayout layout)
47{
48 assert(layout);
49 assert(layout->m_RefCount > 0);
50 ++layout->m_RefCount;
51}
52
53void TextLayoutRelease(HTextLayout layout)
54{

Callers 4

TEST_FFunction · 0.85
DrawTextFunction · 0.85
TEST_FFunction · 0.85
SetNodeTextLayoutFunction · 0.85

Calls 1

assertFunction · 0.50

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68