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

Function CreateResource

engine/resource/src/resource.cpp:939–942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

937}
938
939Result CreateResource(HFactory factory, const char* name, void* data, uint32_t data_size, void** resource)
940{
941 return CreateResourcePartial(factory, 0, name, data, data_size, data_size, resource);
942}
943
944Result GetWithExt(HFactory factory, const char* path, const char* ext, void** resource)
945{

Callers 6

ResourceCreateResourceFunction · 0.70
CreateTextureResourceFunction · 0.50
CreateAttachmentTextureFunction · 0.50
CreateTextureAsyncFunction · 0.50
CreateAtlasFunction · 0.50
CreateBufferFunction · 0.50

Calls 1

CreateResourcePartialFunction · 0.85

Tested by

no test coverage detected