MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / GetData

Method GetData

modules/engine/runtime/src/resource/resource_request.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20skr::span<const uint8_t> SResourceRequestImpl::GetData() const
21{
22 if (!dataBlob)
23 {
24 return {};
25 }
26 return skr::span<const uint8_t>(dataBlob->get_data(), dataBlob->get_size());
27}
28
29#ifdef SKR_RESOURCE_DEV_MODE
30skr::span<const uint8_t> SResourceRequestImpl::GetArtifactsData() const

Callers 7

D3D11CtxMethod · 0.45
CollectMethod · 0.45
WaitForQueryMethod · 0.45
UpdateMethod · 0.45
UpdateEnteringGameMethod · 0.45
UpdateGameMethod · 0.45
UpdateMethod · 0.45

Calls 2

get_dataMethod · 0.45
get_sizeMethod · 0.45

Tested by

no test coverage detected