MCPcopy Create free account
hub / github.com/comaps/comaps / FindResource

Method FindResource

libs/drape/static_texture.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135ref_ptr<Texture::ResourceInfo> StaticTexture::FindResource(Texture::Key const & key, bool & newResource)
136{
137 newResource = false;
138 if (key.GetType() != Texture::ResourceType::Static)
139 return nullptr;
140 return make_ref(m_info);
141}
142
143void StaticTexture::Create(ref_ptr<dp::GraphicsContext> context, Params const & params)
144{

Callers 1

GetRegionBaseMethod · 0.45

Calls 2

make_refFunction · 0.85
GetTypeMethod · 0.45

Tested by

no test coverage detected