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

Function PreCreateResource

engine/gamesys/src/gamesys/scripts/script_resource.cpp:320–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320static void PreCreateResource(lua_State* L, const char* path_str, const char* path_ext_wanted, dmhash_t* canonical_path_hash_out)
321{
322 PreCreateResources(L, path_str, &path_ext_wanted, 1, canonical_path_hash_out);
323}
324
325/*# Set a resource
326 * Sets the resource data for a specific resource

Callers 3

CreateAtlasFunction · 0.85
CreateBufferFunction · 0.85

Calls 1

PreCreateResourcesFunction · 0.85

Tested by

no test coverage detected