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

Function IsAssetHandleValid

engine/graphics/src/graphics.cpp:2406–2410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2404 return g_functions.m_GetTexturePageCount(texture);
2405 }
2406 bool IsAssetHandleValid(HContext context, HAssetHandle asset_handle)
2407 {
2408 assert(asset_handle <= MAX_ASSET_HANDLE_VALUE);
2409 return g_functions.m_IsAssetHandleValid(context, asset_handle);
2410 }
2411 void InvalidateGraphicsHandles(HContext context)
2412 {
2413 g_functions.m_InvalidateGraphicsHandles(context);

Callers 9

CheckAssetHandleFunction · 0.85
TEST_FFunction · 0.85
GetTextureInfoFunction · 0.85
GetRenderTargetInfoFunction · 0.85
OpenGLDeleteTextureFunction · 0.85
TEST_FFunction · 0.85
ExecuteMethod · 0.85

Calls 1

assertFunction · 0.50

Tested by 4

TEST_FFunction · 0.68
TEST_FFunction · 0.68
ExecuteMethod · 0.68