MCPcopy Create free account
hub / github.com/baidu/babylon / convert_offset

Method convert_offset

src/babylon/application_context.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206ptrdiff_t ApplicationContext::ComponentHolder::convert_offset(
207 const Id* type) const noexcept {
208 auto iter = _convert_offset.find(type);
209 if (iter != _convert_offset.end()) {
210 return iter->second;
211 }
212 return PTRDIFF_MAX;
213}
214
215BABYLON_NAMESPACE_END

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected