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

Function IncRef

engine/resource/src/resource.cpp:1425–1431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1423}
1424
1425void IncRef(HFactory factory, HResourceDescriptor rd)
1426{
1427 (void)factory;
1428 assert(rd);
1429 assert(rd->m_ReferenceCount > 0);
1430 ++rd->m_ReferenceCount;
1431}
1432
1433void IncRef(HFactory factory, void* resource)
1434{

Callers 11

SpawnFunction · 0.85
GetWithExtFunction · 0.85
TEST_PFunction · 0.85
SetResourcePropertyFunction · 0.85
CreateComponentFunction · 0.85
CreateJobResourceInfoFunction · 0.85
SetMaterialTextureFunction · 0.85
CreateBufferFunction · 0.85
GetBufferFunction · 0.85
SetBufferFunction · 0.85
SetComputeTextureFunction · 0.85

Calls 2

assertFunction · 0.50
GetMethod · 0.45

Tested by 1

TEST_PFunction · 0.68