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

Method get_ptr

modules/engine/runtime/src/resource/resource_handle.cpp:92–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void* skr_resource_handle_t::get_ptr() const
93{
94 SKR_ASSERT(padding == 0);
95 const auto record = get_record();
96 return record != nullptr ? record->resource : nullptr;
97}
98
99skr_guid_t skr_resource_handle_t::get_guid() const
100{

Callers 9

CookMethod · 0.45
ImportMethod · 0.45
CookMethod · 0.45
CookMethod · 0.45
produce_draw_packetsMethod · 0.45
on_unregisterMethod · 0.45
produce_draw_packetsMethod · 0.45
on_unregisterMethod · 0.45
produce_draw_packetsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected